diff options
| author | Alban Bedel <[email protected]> | 2012-11-14 11:58:13 +0000 |
|---|---|---|
| committer | Thierry Reding <[email protected]> | 2012-12-06 07:52:07 +0000 |
| commit | a9a18e0691228707230df660dd56364aebf6ea47 (patch) | |
| tree | bb6dceef825dea69d2224f12035dedef45d100a5 /drivers/pwm/pwm-imx.c | |
| parent | pwm: i.MX: eliminate build warning (diff) | |
| download | kernel-a9a18e0691228707230df660dd56364aebf6ea47.tar.gz kernel-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 <[email protected]>
Acked-by: Alexandre Pereira da Silva <[email protected]>
Acked-by: Roland Stigge <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-imx.c')
0 files changed, 0 insertions, 0 deletions
