aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power/power_supply_sysfs.c
diff options
context:
space:
mode:
authorAlban Bedel <alban.bedel@avionic-design.de>2012-11-14 06:58:13 -0500
committerThierry Reding <thierry.reding@avionic-design.de>2012-12-06 02:52:07 -0500
commita9a18e0691228707230df660dd56364aebf6ea47 (patch)
treebb6dceef825dea69d2224f12035dedef45d100a5 /drivers/power/power_supply_sysfs.c
parent983290b0625628448ea8907243e3cbceda0a8d74 (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