OMAP: DSS2: add dss_get_hdmi_venc_clk_source()
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 31 Aug 2011 11:33:31 +0000 (14:33 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 30 Sep 2011 13:16:42 +0000 (16:16 +0300)
commit4a61e267c84e98caeddcab25432a871bf1a599dd
tree4ddb42872a60e72578358b056781ce2edc92e94c
parent7f6f3c4bf3f0fd4ea82682b5f1a417cbdbf4a27f
OMAP: DSS2: add dss_get_hdmi_venc_clk_source()

Add dss_get_hdmi_venc_clk_source(), which can be used to get the value
programmed with dss_select_hdmi_venc_clk_source(). This can be used to
find out if the digit output is going to VENC or HDMI.

For OMAP2/3 dss_get_hdmi_venc_clk_source() always returns
DSS_VENC_TV_CLK.

Cc: Mythri P K <mythripk@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/dss.c
drivers/video/omap2/dss/dss.h