apple-gmux: Add suspend/resume support for the backlight
authorSeth Forshee <seth.forshee@canonical.com>
Thu, 19 Apr 2012 15:55:35 +0000 (10:55 -0500)
committerMatthew Garrett <mjg@redhat.com>
Thu, 31 May 2012 18:23:39 +0000 (14:23 -0400)
commit96960880c31131ab906e7e0627ab89e8319c385e
tree191d3caccd82265c9b4f38575ec12453fe164b1f
parentbc7ab495c7532f06bc03021c0d78ac384fb13c14
apple-gmux: Add suspend/resume support for the backlight

After S3, the brightness might not be restored to the pre-suspend value.
Request status update calls from the backlight core on suspend/resume to
ensure the brightness value is restored.

Reported-and-tested-by: Austin Lund <austin.lund@gmail.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/apple-gmux.c