git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b71de4
)
ARM: S3C: PWM fix for low duty cycle
author
Peter Korsgaard
<jacmet@sunsite.dk>
Wed, 1 Jul 2009 15:47:08 +0000
(17:47 +0200)
committer
Ben Dooks
<ben-linux@fluff.org>
Thu, 30 Jul 2009 22:54:50 +0000
(23:54 +0100)
The pwm hardware only checks the compare register after a decrement,
so the pin never toggles if tcmp = tcnt.
This happens when a very low duty cycle is requested. Fix it by always
ensuring that tcmp < tcnt.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
No differences found