|
@@ -381,6 +381,8 @@ static void ehrpwm_pwm_disable(struct pwm_chip *chip, struct pwm_device *pwm)
|
|
aqcsfrc_mask = AQCSFRC_CSFA_MASK;
|
|
aqcsfrc_mask = AQCSFRC_CSFA_MASK;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ /* Update shadow register first before modifying active register */
|
|
|
|
+ ehrpwm_modify(pc->mmio_base, AQCSFRC, aqcsfrc_mask, aqcsfrc_val);
|
|
/*
|
|
/*
|
|
* Changes to immediate action on Action Qualifier. This puts
|
|
* Changes to immediate action on Action Qualifier. This puts
|
|
* Action Qualifier control on PWM output from next TBCLK
|
|
* Action Qualifier control on PWM output from next TBCLK
|