diff options
author | Benjamin Tissoires <benjamin.tissoires@enac.fr> | 2010-12-13 15:59:13 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2010-12-14 11:40:51 +0100 |
commit | c25bcd340033bf5b8dc30c16a99e64259f099446 (patch) | |
tree | 0fb99db0208660e188494f8d0d1bf23c5cec0388 /drivers/hid/hid-picolcd.c | |
parent | ad6d42670279da8f33f633f8a96a67cd7ef3b1da (diff) | |
download | op-kernel-dev-c25bcd340033bf5b8dc30c16a99e64259f099446.zip op-kernel-dev-c25bcd340033bf5b8dc30c16a99e64259f099446.tar.gz |
HID: hid-mosart: support suspend/resume
The device has 2 modes. The first one is an emulation of a touchscreen
by sending left and right button, and the second mode is the one used in
dual-touch (sending trackingID, touch and else).
In case of a suspend/resume, the device switch back to the first mode
described above (with left and right buttons).
This adds a hook in .reset_resume for the device to be switched to
the correct mode (I just copied the code in mosart_probe).
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@enac.fr>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-picolcd.c')
0 files changed, 0 insertions, 0 deletions