bd->props.brightness doesn't reflect the actual backlight level.
authorZhang Rui <rui.zhang@intel.com>
Thu, 8 Jan 2009 14:11:30 +0000 (14:11 +0000)
committerRichard Purdie <rpurdie@linux.intel.com>
Thu, 8 Jan 2009 14:11:30 +0000 (14:11 +0000)
commit9be1df98bca44dbe3769cd22f4ab8122b76c5313
tree2bc256405bcdb4836446a2fd173c373f6d6d67e4
parent0ec561f4b648260a46ace87acbc558241808455f
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