Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pwm: jz4740: Make disable operation compatible with TCU2 mode
On the JZ4750 and later SoCs, channel 1 and 2 operate in a different way (TCU2 mode) as the other channels. If a TCU2 mode counter is stopped before its PWM functionality is disabled, the output is not guaranteed to return to the initial level. Signed-off-by: Maarten ter Huurne <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
- Loading branch information