bd->props.brightness doesn't reflect the actual backlight level.
commit2c67a4ebbfa080476fbf97a49fb31b296a932235
authorZhang Rui <rui.zhang@intel.com>
Fri, 13 May 2011 12:22:17 +0000 (13 09:22 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Fri, 13 May 2011 12:22:17 +0000 (13 09:22 -0300)
tree8a0cc39c37db73d67aa8902b0fffb17be97f35a8
parentbfe3d38e8a539e8b071cfe3723baea17b074ada1
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