acer-wmi: Respect current backlight level when loading
Subsystems (3)
Set the backlight to use the current brightness when loaded, rather than always resetting the backlight to maximum brightness.
Fixes kernel bugzilla #14207
Signed-off-by Carlos Corbacho <[email protected]>
Reported-by Denis Mukhin <[email protected]>
---
Len,
This is one floating about locally that seems to have fallen down the back of the sofa.
Should be safe to apply even in -rc3, as it's just a minor bug fix. If not, it can wait until 2.6.34
drivers/platform/x86/acer-wmi.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/platform/x86/acer-wmi.c +1 -1
@@ -934,7 +934,7 @@ static int __devinit acer_backlight_init(struct device *dev) acer_backlight_device = bd; bd->props.power =FB_BLANK_UNBLANK ; - bd->props.brightness = max_brightness; + bd->props.brightness =read_brightness (bd); bd->props.max_brightness = max_brightness;backlight_update_status (bd);return 0 ;
applied
thanks,
Len Brown, Intel Open Source Technology Center