pwm:ehrpwm - Fix duty cycle inversion eHRPWM wave. v3.2_AM335xPSP_04.06.00.06
authorShankarmurthy, Akshay <akshay.s@ti.com>
Mon, 26 Dec 2011 05:44:48 +0000 (11:14 +0530)
committerPhilip, Avinash <avinashphilip@ti.com>
Thu, 9 Feb 2012 15:20:49 +0000 (20:50 +0530)
commit09e9651bcf2ee8d86685f2a8075bc6557b1d3b91
treeb6137d817057bb1106d5c0ede1eb68947f251028
parent21ef5e1fa530eb8f23bfe18650e3915d7c291ca9
pwm:ehrpwm - Fix duty cycle inversion eHRPWM wave.

Patch fixes the ON and OFF period inversion in PWM wave.
Action qualifier register settings causes switching PWM wave to OFF
period when counter reaches zero and to ON period on counter reaches
compare value. Because of this inversion in duty cycle was observed.

Signed-off-by: Shankarmurthy, Akshay <akshay.s@ti.com>
Signed-off-by: Philip, Avinash <avinashphilip@ti.com>
drivers/pwm/ehrpwm.c