Re: [PATCH 1/3] pwm: lpc32xx - Fix the PWM polarity

2012-11-23 Thread Roland Stigge
On 11/23/2012 10:34 AM, Alexandre Pereira da Silva wrote: > On Wed, Nov 14, 2012 at 9:58 AM, Alban Bedel > wrote: >> The duty cycles value goes from 1 (99% HIGH) to 256 (0% HIGH) but it >> is stored modulo 256 in the register as it is only 8 bits wide. >> >> Signed-off-by: Alban Bedel > > Acked-

Re: [PATCH 1/3] pwm: lpc32xx - Fix the PWM polarity

2012-11-23 Thread Alexandre Pereira da Silva
On Wed, Nov 14, 2012 at 9:58 AM, Alban Bedel wrote: > The duty cycles value goes from 1 (99% HIGH) to 256 (0% HIGH) but it > is stored modulo 256 in the register as it is only 8 bits wide. > > Signed-off-by: Alban Bedel Acked-by: Alexandre Pereira da Silva > --- > drivers/pwm/pwm-lpc32xx.c |