diff options
-rw-r--r-- | drivers/video/backlight/adp5520_bl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/backlight/adp5520_bl.c b/drivers/video/backlight/adp5520_bl.c index b56cb3f77174..dd88ba1d71ce 100644 --- a/drivers/video/backlight/adp5520_bl.c +++ b/drivers/video/backlight/adp5520_bl.c | |||
@@ -67,6 +67,7 @@ static int adp5520_bl_set(struct backlight_device *bl, int brightness) | |||
67 | static int adp5520_bl_update_status(struct backlight_device *bl) | 67 | static int adp5520_bl_update_status(struct backlight_device *bl) |
68 | { | 68 | { |
69 | int brightness = bl->props.brightness; | 69 | int brightness = bl->props.brightness; |
70 | |||
70 | if (bl->props.power != FB_BLANK_UNBLANK) | 71 | if (bl->props.power != FB_BLANK_UNBLANK) |
71 | brightness = 0; | 72 | brightness = 0; |
72 | 73 | ||