[PATCH v2] pwm: pwm-mxs: Wait for configuration to apply before disabling PWM.

2013-06-26 Thread Robin van der Gracht
We have to be sure that the last configuration has been applied. In most cases drivers will have set the duty-cycle to 0%. To prevent the PWM from locking at a 100% duty-cycle, we delay disabling the PWM for a whole period to make sure any new configuration has been latched. Signed-off-by: Robin

[PATCH v2] pwm: pwm-mxs: Wait for configuration to apply before disabling PWM.

2013-06-26 Thread Robin van der Gracht
We have to be sure that the last configuration has been applied. In most cases drivers will have set the duty-cycle to 0%. To prevent the PWM from locking at a 100% duty-cycle, we delay disabling the PWM for a whole period to make sure any new configuration has been latched. Signed-off-by: Robin