hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/pwm/core.c
....@@ -587,6 +587,8 @@
587587 state->polarity == pwm->state.polarity &&
588588 #ifdef CONFIG_PWM_ROCKCHIP_ONESHOT
589589 state->oneshot_count == pwm->state.oneshot_count &&
590
+ state->oneshot_repeat == pwm->state.oneshot_repeat &&
591
+ state->duty_offset == pwm->state.duty_offset &&
590592 #endif
591593 state->enabled == pwm->state.enabled)
592594 return 0;