File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -426,15 +426,15 @@ static int pwm_backlight_initial_power_state(const struct pwm_bl_data *pb)
426
426
427
427
/* Not booted with device tree or no phandle link to the node */
428
428
if (!node || !node -> phandle )
429
- return FB_BLANK_UNBLANK ;
429
+ return BACKLIGHT_POWER_ON ;
430
430
431
431
/*
432
432
* If the driver is probed from the device tree and there is a
433
433
* phandle link pointing to the backlight node, it is safe to
434
434
* assume that another driver will enable the backlight at the
435
435
* appropriate time. Therefore, if it is disabled, keep it so.
436
436
*/
437
- return active ? FB_BLANK_UNBLANK : FB_BLANK_POWERDOWN ;
437
+ return active ? BACKLIGHT_POWER_ON : BACKLIGHT_POWER_OFF ;
438
438
}
439
439
440
440
static int pwm_backlight_probe (struct platform_device * pdev )
You can’t perform that action at this time.
0 commit comments