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)
commitca66a6770bd9d6d99e469debd1c7363ac455daf9
tree9cc1b47abf27ab4f3ca54ed03ce09f40571f8ad0
parent6be388f4a35d2ce5ef7dbf635a8964a5da7f799f
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: 43b7029f475e ("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