HID: i2c-hid: do not reset hid if device support wakeup when resume
authorZhou weixin <zwx@rock-chips.com>
Wed, 28 Dec 2016 06:28:54 +0000 (14:28 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Thu, 29 Dec 2016 02:35:19 +0000 (10:35 +0800)
commit73475ee2024394acc2c1cd71c5f556f0ad018769
tree421f75787784530701b9751a5d0adfdac4a0263f
parent209d5231411602d041492a2bcf1dc9cd3632e82d
HID: i2c-hid: do not reset hid if device support wakeup when resume

The host will trigger the hid interrupt to after reset hid, then send
wakeup key to light up screen,so any wakeupirq source will light up
screen due to reset hid in resume, and hid hwreset is not necessary.

Change-Id: I920239eeb4b57b0f594cc67cb8f4c1649c5125bd
Signed-off-by: Zhou weixin <zwx@rock-chips.com>
drivers/hid/i2c-hid/i2c-hid.c