]> 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)
commit352afafe147f98ad1debde996a2dca01b5b9664d
tree9cc1b47abf27ab4f3ca54ed03ce09f40571f8ad0
parentdd24ca1340bd4933551923ad19321cc152521f0d
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: 76f4dc30c8a4 ("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