]> git.baikalelectronics.ru Git - kernel.git/commit
HID: i2c-hid: Skip ELAN power-on command after reset
authorJohnny Chuang <johnny.chuang.emc@gmail.com>
Tue, 13 Apr 2021 01:20:50 +0000 (09:20 +0800)
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>
Fri, 7 May 2021 12:32:28 +0000 (14:32 +0200)
commit832d6038652fb86dba396463fc73e5c6de4333f6
tree9cc1b47abf27ab4f3ca54ed03ce09f40571f8ad0
parent5c4c214a48b9e101a5ab2af6c6f0a9ad13bb5d56
HID: i2c-hid: Skip ELAN power-on command after reset

For ELAN touchscreen, we found our boot code of IC was not flexible enough
to receive and handle this command.
Once the FW main code of our controller is crashed for some reason,
the controller could not be enumerated successfully to be recognized
by the system host. therefore, it lost touch functionality.

Add quirk for skip send power-on command after reset.
It will impact to ELAN touchscreen and touchpad on HID over I2C projects.

Fixes: 31c501f662f2 ("HID: i2c-hid: Send power-on command after reset").
Cc: stable@vger.kernel.org
Signed-off-by: Johnny Chuang <johnny.chuang.emc@gmail.com>
Reviewed-by: Harry Cutts <hcutts@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Tested-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
drivers/hid/i2c-hid/i2c-hid-core.c