Commit 56232f53 authored by Lokesh Vutla's avatar Lokesh Vutla Committed by Tero Kristo
Browse files

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



commit e793eef8 upstream.

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 0a5372ce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment