summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorAlban Bedel <alban.bedel@avionic-design.de>2012-11-14 12:58:13 +0100
committerThierry Reding <thierry.reding@avionic-design.de>2012-12-06 08:52:07 +0100
commita9a18e0691228707230df660dd56364aebf6ea47 (patch)
treebb6dceef825dea69d2224f12035dedef45d100a5 /virt
parentpwm: i.MX: eliminate build warning (diff)
downloadlinux-a9a18e0691228707230df660dd56364aebf6ea47.tar.xz
linux-a9a18e0691228707230df660dd56364aebf6ea47.zip
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 <alban.bedel@avionic-design.de> Acked-by: Alexandre Pereira da Silva <aletes.xgr@gmail.com> Acked-by: Roland Stigge <stigge@antcom.de> Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions