HID: i2c-hid: Reset ALPS touchpads on resume
authorKai-Heng Feng <kai.heng.feng@canonical.com>
Thu, 7 Nov 2019 14:28:11 +0000 (22:28 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jan 2020 09:20:02 +0000 (10:20 +0100)
commit440d3e7beb60a19d82d75692a5f44c5d20a84923
treec786b7dac1f501e127ce0bb5dd095c9f77fe959e
parent0e9d2e5f7141cb48a52063a56f73aaa56652ec6b
HID: i2c-hid: Reset ALPS touchpads on resume

commit fd70466d37bf3fe0118d18c56ddde85b428f86cf upstream.

Commit 52cf93e63ee6 ("HID: i2c-hid: Don't reset device upon system
resume") fixes many touchpads and touchscreens, however ALPS touchpads
start to trigger IRQ storm after system resume.

Since it's total silence from ALPS, let's bring the old behavior back
to ALPS touchpads.

Fixes: 52cf93e63ee6 ("HID: i2c-hid: Don't reset device upon system resume")
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hid/i2c-hid/i2c-hid-core.c