|
@@ -215,6 +215,10 @@ static int pwm_backlight_initial_power_state(const struct pwm_bl_data *pb)
|
|
if (!regulator_is_enabled(pb->power_supply))
|
|
if (!regulator_is_enabled(pb->power_supply))
|
|
return FB_BLANK_POWERDOWN;
|
|
return FB_BLANK_POWERDOWN;
|
|
|
|
|
|
|
|
+ /* The PWM is disabled, keep it like this */
|
|
|
|
+ if (!pwm_is_enabled(pb->pwm))
|
|
|
|
+ return FB_BLANK_POWERDOWN;
|
|
|
|
+
|
|
return FB_BLANK_UNBLANK;
|
|
return FB_BLANK_UNBLANK;
|
|
}
|
|
}
|
|
|
|
|