hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
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)