summaryrefslogtreecommitdiff
path: root/drivers/memstick
diff options
context:
space:
mode:
authorFrank Praznik <frank.praznik@gmail.com>2015-11-11 17:49:38 +0300
committerJiri Kosina <jkosina@suse.cz>2015-11-19 13:16:13 +0300
commitdecd946c99f6b3826bda0bfd5d1b2ddd56ef6b54 (patch)
treea9f7db8979aaff92e253f0787737eac43ebebc4c /drivers/memstick
parentd8aaccda7144df1c3d35251313197aed4cbea7bc (diff)
downloadlinux-decd946c99f6b3826bda0bfd5d1b2ddd56ef6b54.tar.xz
HID: sony: Save and restore the controller state on suspend and resume
On hardware which provides standby power for charging devices the state of the LEDs and force-feedback on controllers can persist even when the system is in standby. Additionally, the state of the controllers on resume may be different from the state they were in at the time when they were suspended (ie. LEDs are cleared on resume). This implements the suspend and resume callbacks which saves and clears the state of the LEDs on suspend and restores them on resume. Force-feedback is stopped on suspend but not automatically restored on resume until a new event is received to avoid potentially damaging hardware. USB Sixaxis and navigation controllers must be reinitialized when the hardware is reset on resume or they won't send any input reports. Signed-off-by: Frank Praznik <frank.praznik@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/memstick')
0 files changed, 0 insertions, 0 deletions