Skip to content
Commit afcedebc authored by Marco Trevisan (Treviño)'s avatar Marco Trevisan (Treviño) Committed by Darren Hart
Browse files

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: default avatarMarco Trevisan (Treviño) <mail@3v1n0.net>
Acked-by: default avatarHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: default avatarDarren Hart <dvhart@linux.intel.com>
parent a29ccf6f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment