hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
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)