Skip to content
Commit e793eef8 authored by Lokesh Vutla's avatar Lokesh Vutla Committed by Thierry Reding
Browse files

pwm: omap-dmtimer: Do not disable PWM before changing period/duty_cycle



Only the Timer control register(TCLR) cannot be updated when the timer
is running. Registers like Counter register (TCRR), loader register
(TLDR) and match register (TMAR) can be updated while the counter is
running. Since TCLR is not updated in pwm_omap_dmtimer_config(), do not
stop the timer for period/duty_cycle update.

Tested-by: default avatarTony Lindgren <tony@atomide.com>
Signed-off-by: default avatarLokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent 867beb60
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment