bd->props.brightness doesn't reflect the actual backlight level.
commit9bf34b47f8c9dd2b0f33c899653f2180b2d698c6
authorZhang Rui <rui.zhang@intel.com>
Sat, 14 Nov 2009 02:56:33 +0000 (14 00:56 -0200)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sat, 14 Nov 2009 02:56:33 +0000 (14 00:56 -0200)
tree41ba9525d035a506c10db4fa2aeac7b95449405f
parent0a0a35f74aef72e48d4caadeb1074f8f5722b196
bd->props.brightness doesn't reflect the actual backlight level.
Always invoke backlight_update_status when users want to change
the backlight.

For setups where brightness change is an expensive operation,
this could be done in the driver rather than the core.

http://bugzilla.kernel.org/show_bug.cgi?id=12249

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
drivers/video/backlight/backlight.c