]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
HID: i2c-hid: Disable runtime PM on Goodix touchpad
authorKai-Heng Feng <kai.heng.feng@canonical.com>
Wed, 16 Jan 2019 07:19:45 +0000 (15:19 +0800)
committerKhalid Elmously <khalid.elmously@canonical.com>
Wed, 6 Feb 2019 04:53:01 +0000 (04:53 +0000)
commitfe1d27fb32925d3b9b46e89fbab1878563975486
tree75274d2f5c34ffe3c0327c0b004432d8801b9658
parentb24283cfedf420b351d43d9c2f73a47ba2c8c4d4
HID: i2c-hid: Disable runtime PM on Goodix touchpad

BugLink: https://bugs.launchpad.net/bugs/1811929
A Goodix touchpad doesn't work. Touching the touchpad can trigger IRQ
but there's no input event from HID subsystem.

Turns out it reports some invalid data:
[   22.136630] i2c_hid i2c-DELL091F:00: input: 0b 00 01 00 00 00 00 00 00 00 00

After some trial and error, it's another device that doesn't work well
with ON/SLEEP commands. Disable runtime PM to fix the issue.

Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
(backported from commit 77ae0d8e401f083ca69c202502da4fc0e38cb1b7 linux-next)
Signed-off-by: Your Name <kai.heng.feng@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Seth Forshee <seth.forshee@canonical.com>
Acked-by: AceLan Kao <acelan.kao@canonical.com>
Acked-by: Po-Hsu Lin <po-hsu.lin@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/hid/hid-ids.h
drivers/hid/i2c-hid/i2c-hid.c