aboutsummaryrefslogtreecommitdiff
path: root/drivers/hid/wacom_wac.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2019-10-20 23:47:18 +0200
committerJiri Kosina <jkosina@suse.cz>2019-11-02 20:34:10 +0100
commit43b7029f475e7497da1de1f4a1742241812bf266 (patch)
tree4084be81f067dc2a9b8aff3dab915861f056221c /drivers/hid/wacom_wac.c
parent09f3dbe474735df13dd8a66d3d1231048d9b373f (diff)
HID: i2c-hid: Send power-on command after reset
Before commit 67b18dfb8cfc ("HID: i2c-hid: Remove runtime power management"), any i2c-hid touchscreens would typically be runtime-suspended between the driver loading and Xorg or a Wayland compositor opening it, causing it to be resumed again. This means that before this change, we would call i2c_hid_set_power(OFF), i2c_hid_set_power(ON) before the graphical session would start listening to the touchscreen. It turns out that at least some SIS touchscreens, such as the one found on the Asus T100HA, need a power-on command after reset, otherwise they will not send any events. Fixes: 67b18dfb8cfc ("HID: i2c-hid: Remove runtime power management") Cc: Kai-Heng Feng <kai.heng.feng@canonical.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/wacom_wac.c')
0 files changed, 0 insertions, 0 deletions