pwm: sti: Fix PWM prescaler handling
authorAjit Pal Singh <ajitpal.singh@st.com>
Mon, 14 Jul 2014 14:33:29 +0000 (15:33 +0100)
committerThierry Reding <thierry.reding@gmail.com>
Fri, 8 Aug 2014 11:12:40 +0000 (13:12 +0200)
commitbf9cc80b6c3ec2754b570d377ed7f7e2ec96868a
tree181ee5621900f4a370bd4f9cab515fa2f8602bcf
parentacad00d3d67ef2a7177beb70e7aeef5f0bd2bcf0
pwm: sti: Fix PWM prescaler handling

This patch fixes the pwm driver to write the complete 8 bits of
the prescaler value to the PWM Control register.

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