summaryrefslogtreecommitdiffstats
path: root/drivers/video/wm8505fb.c
diff options
context:
space:
mode:
authorXiubo Li2013-12-11 10:19:42 +0100
committerBryan Wu2014-01-28 02:28:50 +0100
commitfc1aee038b609dc33067ca9dd477b16ea893cae0 (patch)
treec098d278595f5efbdf7621969cf59d28aac6badf /drivers/video/wm8505fb.c
parentleds: leds-mc13783: Remove unneeded mc13xxx_{un}lock (diff)
downloadkernel-qcow2-linux-fc1aee038b609dc33067ca9dd477b16ea893cae0.tar.gz
kernel-qcow2-linux-fc1aee038b609dc33067ca9dd477b16ea893cae0.tar.xz
kernel-qcow2-linux-fc1aee038b609dc33067ca9dd477b16ea893cae0.zip
leds: leds-pwm: fix duty time overflow.
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>
Diffstat (limited to 'drivers/video/wm8505fb.c')
0 files changed, 0 insertions, 0 deletions