backlight: atmel-pwm-bl: fix reported brightness
authorJohan Hovold <jhovold@gmail.com>
Tue, 12 Nov 2013 23:09:38 +0000 (15:09 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:20 +0000 (12:09 +0900)
commit185d91442550110db67a7dc794a32efcea455a36
tree1aa759eab19cf403ba0bb30f6cbc60c50405e018
parentbcd5b4165645eb44c781bca456c11c0478546161
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/backlight/atmel-pwm-bl.c