diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/misc/sony-laptop.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/misc/sony-laptop.c b/drivers/misc/sony-laptop.c index 14ee06c8f127..9a803e13c307 100644 --- a/drivers/misc/sony-laptop.c +++ b/drivers/misc/sony-laptop.c | |||
@@ -942,6 +942,11 @@ static int sony_nc_resume(struct acpi_device *device) | |||
942 | } | 942 | } |
943 | } | 943 | } |
944 | 944 | ||
945 | /* set the last requested brightness level */ | ||
946 | if (sony_backlight_device && | ||
947 | !sony_backlight_update_status(sony_backlight_device)) | ||
948 | printk(KERN_WARNING DRV_PFX "unable to restore brightness level"); | ||
949 | |||
945 | /* re-initialize models with specific requirements */ | 950 | /* re-initialize models with specific requirements */ |
946 | dmi_check_system(sony_nc_ids); | 951 | dmi_check_system(sony_nc_ids); |
947 | 952 | ||