Skip to content
Commit 807588ac authored by Anisse Astier's avatar Anisse Astier Committed by Jiri Kosina
Browse files

HID: i2c-hid: disable runtime PM operations on hantick touchpad



This hantick HTIX5288 touchpad can quickly fall in a wrong state if
there are too many open/close operations. This will either make it stop
reporting any input, or will shift all the input reads by a few bytes,
making it impossible to decode.

Here, we never release the probed touchpad runtime pm while the driver
is loaded, which should disable all runtime pm suspend/resumes.

This fast repetition of sleep/wakeup is also more likely to happen when
using runtime PM, which is why the quirk is done there, and not for all
power downs, which would include suspend or module removal.

Signed-off-by: default avatarAnisse Astier <anisse@astier.eu>
Cc: stable@vger.kernel.org
Acked-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>
Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
Tested-by: default avatarPhilip Müller <philm@manjaro.org>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 52cf93e6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment