diff options
author | Alban Bedel <alban.bedel@avionic-design.de> | 2012-11-14 12:58:13 +0100 |
---|---|---|
committer | Thierry Reding <thierry.reding@avionic-design.de> | 2012-12-06 08:52:07 +0100 |
commit | a9a18e0691228707230df660dd56364aebf6ea47 (patch) | |
tree | bb6dceef825dea69d2224f12035dedef45d100a5 /sound | |
parent | 983290b0625628448ea8907243e3cbceda0a8d74 (diff) | |
download | linux-a9a18e0691228707230df660dd56364aebf6ea47.tar.bz2 |
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 'sound')
0 files changed, 0 insertions, 0 deletions