pwm: sti: Sync between enable/disable calls
authorAjit Pal Singh <ajitpal.singh@st.com>
Mon, 14 Jul 2014 14:33:31 +0000 (15:33 +0100)
committerThierry Reding <thierry.reding@gmail.com>
Fri, 8 Aug 2014 11:12:45 +0000 (13:12 +0200)
commit6ad6b838e11d8d67950716e0715b1d71bdd0769e
tree3510898dbd6dc9c4ebbb4a50a4adbe05dca6670a
parent5165166e8a1551fb80afa5fdaad6f2ea34d92285
pwm: sti: Sync between enable/disable calls

ST PWM IP has a common enable/disable control for all the PWM
channels on a PWM cell. Disables PWM output on the PWM HW only
when disable is called for the last channel.

Signed-off-by: Ajit Pal Singh <ajitpal.singh@st.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-sti.c