From: Alban Bedel Date: Wed, 14 Nov 2012 11:58:13 +0000 (+0100) Subject: pwm: lpc32xx: Fix the PWM polarity X-Git-Tag: v3.8-rc1~49^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9a18e0691228707230df660dd56364aebf6ea47;p=pandora-kernel.git pwm: lpc32xx: Fix the PWM polarity 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 Acked-by: Roland Stigge Signed-off-by: Thierry Reding --- Reading git-diff-tree failed