]> git.karo-electronics.de Git - karo-tx-linux.git/commit
HID: i2c_hid: enable i2c-hid devices to suspend/resume asynchronously
authorFu, Zhonghui <zhonghui.fu@linux.intel.com>
Thu, 19 May 2016 02:46:24 +0000 (10:46 +0800)
committerJiri Kosina <jkosina@suse.cz>
Mon, 6 Jun 2016 08:40:59 +0000 (10:40 +0200)
commit982e42d655ad9a579147e0feaf9a050b57d3d71e
tree084e6cbf121be7ffd1418f2613a61b0492ca16ce
parentdcc4c2f61cdc7e0ab61b25b8d28205302497a8c4
HID: i2c_hid: enable i2c-hid devices to suspend/resume asynchronously

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.

Signed-off-by: Zhonghui Fu <zhonghui.fu@linux.intel.com>
Acked-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/i2c-hid/i2c-hid.c