From: Xiubo Li Date: Wed, 11 Dec 2013 09:19:42 +0000 (-0800) Subject: leds: leds-pwm: fix duty time overflow. X-Git-Tag: v3.14-rc1~66^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc1aee038b609dc33067ca9dd477b16ea893cae0;p=pandora-kernel.git 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 --- Reading git-diff-tree failed