]> git.karo-electronics.de Git - karo-tx-linux.git/commit
backlight: atmel-pwm-bl: fix reported brightness
authorJohan Hovold <jhovold@gmail.com>
Tue, 5 Nov 2013 05:56:41 +0000 (16:56 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 5 Nov 2013 05:56:41 +0000 (16:56 +1100)
commit715427907f1d00d5cd5a04a26d089e2f29adb4d3
tree848ccb1ab0aa4455609eb8fd986ee4748b47b06d
parent4bfea2724325184792a7d9b2e5b8ea9da72c3720
backlight: atmel-pwm-bl: fix reported brightness

The driver supports 16-bit brightness values, but the value returned
from get_brightness was truncated to eight bits.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Cc: Jingoo Han <jg1.han@samsung.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/video/backlight/atmel-pwm-bl.c