fbdev: sh_mobile_lcdcfb: add blanking support
authorAlexandre Courbot <gnurou@gmail.com>
Wed, 23 Feb 2011 08:36:30 +0000 (08:36 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 29 Mar 2011 07:04:39 +0000 (16:04 +0900)
commit8857b9aa7e64a70852545ee01fa638481cb08a76
treefdf011896d06c9e5523206549f833db3343fb9a7
parentbacbe55b63d434b7a33f01a03628b6302c75417b
fbdev: sh_mobile_lcdcfb: add blanking support

Add a blanking callback to the LCDC driver in order to support both
FBIOBLANK and TIOCLINUX blanking ioctls. LCDC clocks are also released
if the requested blanking level is superior to FB_BLANK_NORMAL, to allow
runtime PM to disable the clocks if possible.

Signed-off-by: Alexandre Courbot <gnurou@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/sh_mobile_lcdcfb.c
drivers/video/sh_mobile_lcdcfb.h