commit | afcedebc6a094224973534f43b396bbbf33fe44e | [log] [tgz] |
---|---|---|
author | Marco Trevisan (Treviño) <mail@3v1n0.net> | Tue May 24 00:39:51 2016 +0200 |
committer | Darren Hart <dvhart@linux.intel.com> | Fri May 27 11:47:55 2016 -0700 |
tree | f8f3741b8e432615db8d3628717a7121c3289428 | |
parent | a29ccf6ff3e07061253b9209a65edb8c0126f78d [diff] |
thinkpad_acpi: save kbdlight state on suspend and restore it on resume Override default LED class suspend/resume handles, by keeping track of the brightness level before suspending so that it can be automatically restored on resume by calling default resume handler. Signed-off-by: Marco Trevisan (Treviño) <mail@3v1n0.net> Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br> Signed-off-by: Darren Hart <dvhart@linux.intel.com>