forked from ~ljy/RK356X_SDK_RELEASE
kernel/drivers/video/backlight/pwm_bl.c....@@ -74,7 +74,7 @@7474 struct pwm_state state;7575 7676 pwm_get_state(pb->pwm, &state);77- if (!pb->enabled)77+ if (!pb->enabled && !state.enabled)7878 return;7979 8080 if (pb->enable_gpio)