]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita4809e3cd0dcd12f6c7b5738f7a8f07f67cbbff8
tree191d3caccd82265c9b4f38575ec12453fe164b1f
parent053ff280db25cf15efef481e7df13d7160f507d1
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