video: imxfb: Resolve mismatch between backlight/contrast
authorAlexander Shiyan <shc_work@mail.ru>
Sat, 15 Feb 2014 05:56:25 +0000 (09:56 +0400)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 28 Feb 2014 10:35:32 +0000 (12:35 +0200)
commitf590f99ab9c13731aede86b522c0b8bf140a292e
tree26252f39a4b6af791a88b1b25a71581967584e6b
parentde5013627fba6a9135a9aee1418ee927bbfdd8c8
video: imxfb: Resolve mismatch between backlight/contrast

Currently, driver uses backlight class to control contrast value.
This is not correct. This patch resolves this issue by removing
backlight class from the driver and replace handling of LCDC PWM
Contrast Control Register by contrast control through LCD class.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/imxfb.c