fbdev: sh_mobile_lcdc: Return display connection state in display_on
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 28 Nov 2011 22:19:59 +0000 (23:19 +0100)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 12 Mar 2012 21:40:52 +0000 (22:40 +0100)
commit458981c3886133667e020900f53538f1fbc3ea1d
tree6407e8c02cb4715dde31cdef9685f175dae6043b
parent5864ace19a2546912308e94432c1cf52d5945afe
fbdev: sh_mobile_lcdc: Return display connection state in display_on

Return true if the display is connected and false otherwise. Set the fb
info state to FBINFO_STATE_SUSPENDED in the sh_mobile_lcdc driver when
the display is not connected.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/video/sh_mipi_dsi.c
drivers/video/sh_mobile_hdmi.c
drivers/video/sh_mobile_lcdcfb.c
drivers/video/sh_mobile_lcdcfb.h