summaryrefslogtreecommitdiff
path: root/drivers/serial/s3c2440.c
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-07-01 19:47:08 +0400
committerBen Dooks <ben-linux@fluff.org>2009-07-31 02:54:50 +0400
commit165f5f64199f972a21f21effc125d89ed2488e58 (patch)
tree1c476656788344f6bea3c4555711b53673f62e84 /drivers/serial/s3c2440.c
parent9b71de49b030ad8fd4d13d38571b5c42dc9ed8dd (diff)
downloadlinux-165f5f64199f972a21f21effc125d89ed2488e58.tar.xz
ARM: S3C: PWM fix for low duty cycle
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>
Diffstat (limited to 'drivers/serial/s3c2440.c')
0 files changed, 0 insertions, 0 deletions