Re: [PATCH] i2c_hid: enable i2c-hid devices to suspend/resume asynchronously

From: Jiri Kosina
Date: Tue May 24 2016 - 06:24:50 EST


On Thu, 19 May 2016, Fu, Zhonghui wrote:

> i2c-hid devices' suspend/resume are usually time-consuming process.
> For example, the touch controller(i2c-ATML1000:00) on ASUS T100 tablet
> takes about 160ms for suspending and 120ms for resuming. This patch
> enables i2c-hid devices to suspend/resume asynchronously. This will
> take advantage of multicore and speed up system suspend/resume process.

Umm, why do we need this in the first place, given the fact that we are
enabling async suspend for each and every HID device allocated via
hid_allocate_device() already?

--
Jiri Kosina
SUSE Labs