commit | d1b5342c1f5946c2219e4e5bd770b1c1fc186272 | [log] [tgz] |
---|---|---|
author | Marc Dietrich <marvin24@gmx.de> | Mon Dec 26 17:57:32 2011 +0100 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue Jan 31 10:27:57 2012 -0800 |
tree | 4c3fee0ea7ea7bc5a661b6129b8ba24dd3f525bd | |
parent | 5f356a67ae14033d734f73b79b926f8949300e83 [diff] |
staging: nvec: ps2: add suspend/resume functions This adds suspend and resume functions to the nvec_ps2 mouse driver. During suspend the nvec sends a "Cancel all mouse events" command. If this is missed, there will be still some bytes in the received buffer after resume which make the mouse go out of sync. Signed-off-by: Marc Dietrich <marvin24@gmx.de> Signed-off-by: Julian Andres Klode <jak@jak-linux.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>