kernel/drivers/pwm/core.c
.. .. @@ -587,6 +587,8 @@ 587 587 state->polarity == pwm->state.polarity && 588 588 #ifdef CONFIG_PWM_ROCKCHIP_ONESHOT 589 589 state->oneshot_count == pwm->state.oneshot_count && 590 + state->oneshot_repeat == pwm->state.oneshot_repeat &&591 + state->duty_offset == pwm->state.duty_offset &&590 592 #endif 591 593 state->enabled == pwm->state.enabled) 592 594 return 0;