diff options
-rw-r--r-- | drivers/platform/x86/apple-gmux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/apple-gmux.c b/drivers/platform/x86/apple-gmux.c index 6dcef4f199bb..694a15a56230 100644 --- a/drivers/platform/x86/apple-gmux.c +++ b/drivers/platform/x86/apple-gmux.c | |||
@@ -88,7 +88,7 @@ static int gmux_update_status(struct backlight_device *bd) | |||
88 | u32 brightness = bd->props.brightness; | 88 | u32 brightness = bd->props.brightness; |
89 | 89 | ||
90 | if (bd->props.state & BL_CORE_SUSPENDED) | 90 | if (bd->props.state & BL_CORE_SUSPENDED) |
91 | brightness = 0; | 91 | return 0; |
92 | 92 | ||
93 | /* | 93 | /* |
94 | * Older gmux versions require writing out lower bytes first then | 94 | * Older gmux versions require writing out lower bytes first then |