Skip to content
Commit df56b171 authored by Maarten ter Huurne's avatar Maarten ter Huurne Committed by Thierry Reding
Browse files

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: default avatarMaarten ter Huurne <maarten@treewalker.org>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent 1f6eefeb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment