diff options
author | Kai-Heng Feng <kai.heng.feng@canonical.com> | 2016-09-19 15:41:39 +0800 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2016-09-22 11:07:16 +0200 |
commit | 04fd4cb0b098789725d04e9d4a7e7dda373b1121 (patch) | |
tree | f6c1cfb41e85db962abd6bd55fa59e10aedd2a46 /drivers/hid/hid-sony.c | |
parent | 7ee2eaa3641827a9ecdffa190cde31846024d2e3 (diff) | |
download | talos-obmc-linux-04fd4cb0b098789725d04e9d4a7e7dda373b1121.tar.gz talos-obmc-linux-04fd4cb0b098789725d04e9d4a7e7dda373b1121.zip |
HID: alps: fix stick device not working after resume
The stick device does not work after resume, add U1_SP_ABS_MODE flag can
make the device work after resume.
This has been discovered by pure guesswork, based on how the existing code uses
U1_TP_ABS_MODE flag on both initialization and resume.
I also tested the the patch on an ALPS touchpad without stick device, did not
notice any side effect on suspend/resume, so I made the U1_SP_ABS_MODE flag
mandatory.
[jkosina@suse.cz: made changelog more verbose]
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-sony.c')
0 files changed, 0 insertions, 0 deletions