forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
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;