|
@@ -1041,7 +1041,7 @@ static int sony_nc_resume(struct acpi_device *device)
|
|
|
|
|
|
/* set the last requested brightness level */
|
|
/* set the last requested brightness level */
|
|
if (sony_backlight_device &&
|
|
if (sony_backlight_device &&
|
|
- !sony_backlight_update_status(sony_backlight_device))
|
|
|
|
|
|
+ sony_backlight_update_status(sony_backlight_device) < 0)
|
|
printk(KERN_WARNING DRV_PFX "unable to restore brightness level\n");
|
|
printk(KERN_WARNING DRV_PFX "unable to restore brightness level\n");
|
|
|
|
|
|
return 0;
|
|
return 0;
|