change-backlight-level-not-forced-up-on-resume.patch
commitdb07519c1dfe916bcf9644bfdc4d7c03707a979e
authorAndy Green <andy@openmoko.com>
Tue, 15 Jul 2008 08:04:05 +0000 (15 09:04 +0100)
committerAndy Green <agreen@localhost.localdomain>
Tue, 15 Jul 2008 08:04:05 +0000 (15 09:04 +0100)
tree3b52e734f0a270390f739533352f6e9ae2ca454d
parente1673170182af199be7c6a2a346d8bad7e4dc532
change-backlight-level-not-forced-up-on-resume.patch

We at least always enabled backlight on resume, this patch
changes us to set backlight back to last requested backlight
brightness level on resume.  Note it means that you can
resume with screen blanked, but it should come back if that
happened with touchscreen action as usual.

/sys/class/backlight/pcf50633-bl/actual_brightness
and
/sys/class/backlight/pcf50633-bl/brightness

seem to agree after resume when reportedly they didn't before.

Signed-off-by: Andy Green <andy@openmoko.com>
drivers/i2c/chips/pcf50633.c