]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 30 Jun 2021 06:27:54 +0000 (08:27 +0200)
commit07053a25f6e319f04e00431e4b1102eebd70c5b2
tree0b8eec9242a68491ba766cd661f3163d3b9304e9
parent7d37133431fbf396c36f518790a459e97406c4c4
HID: i2c-hid: Skip ELAN power-on command after reset

BugLink: https://bugs.launchpad.net/bugs/1933691
commit ca66a6770bd9d6d99e469debd1c7363ac455daf9 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kelsey Skunberg <kelsey.skunberg@canonical.com>
drivers/hid/i2c-hid/i2c-hid-core.c