From: Benjamin Tissoires Date: Mon, 13 Dec 2010 14:59:13 +0000 (+0100) Subject: HID: hid-mosart: support suspend/resume X-Git-Tag: v2.6.38-rc1~442^2~7^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c25bcd340033bf5b8dc30c16a99e64259f099446;p=pandora-kernel.git 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 Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed