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:
3df22c0
)
leds: leds-pwm: fix duty time overflow.
author
Xiubo Li
<Li.Xiubo@freescale.com>
Wed, 11 Dec 2013 09:19:42 +0000
(
01:19
-0800)
committer
Bryan Wu
<cooloney@gmail.com>
Tue, 28 Jan 2014 01:28:50 +0000
(17:28 -0800)
Overflow maybe occurs when calculates the duty time. For instance,
the period time is 990000000ns, and the max_brightness is 127, when
setting the brightness to 12, the duty value will be 25906026ns, but
it should be 93543307ns.
Signed-off-by: Bryan Wu <cooloney@gmail.com>
drivers/leds/leds-pwm.c
patch
|
blob
|
history
diff --cc
drivers/leds/leds-pwm.c
Simple merge