diff options
author | Alban Bedel <alban.bedel@avionic-design.de> | 2012-11-14 06:58:13 -0500 |
---|---|---|
committer | Thierry Reding <thierry.reding@avionic-design.de> | 2012-12-06 02:52:07 -0500 |
commit | a9a18e0691228707230df660dd56364aebf6ea47 (patch) | |
tree | bb6dceef825dea69d2224f12035dedef45d100a5 /drivers/power/power_supply_sysfs.c | |
parent | 983290b0625628448ea8907243e3cbceda0a8d74 (diff) |
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 'drivers/power/power_supply_sysfs.c')
0 files changed, 0 insertions, 0 deletions