summaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-stm32-lp.c
diff options
context:
space:
mode:
authorMaarten ter Huurne <maarten@treewalker.org>2018-01-06 19:58:40 +0300
committerThierry Reding <thierry.reding@gmail.com>2018-03-28 01:22:03 +0300
commitdf56b1712d57863e9686673bb13803dcd8a82f7a (patch)
treec0fc618f24474a7bfa1fc361985fb127560c1bb8 /drivers/pwm/pwm-stm32-lp.c
parent1f6eefeb7cd45360397fb5d3f08ce9ec41e80b17 (diff)
downloadlinux-df56b1712d57863e9686673bb13803dcd8a82f7a.tar.xz
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 <maarten@treewalker.org> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/pwm-stm32-lp.c')
0 files changed, 0 insertions, 0 deletions