summaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/dss/dss_features.c
diff options
context:
space:
mode:
authorRicardo Neri <ricardo.neri@ti.com>2012-04-27 13:48:45 -0500
committerTomi Valkeinen <tomi.valkeinen@ti.com>2012-05-11 15:13:51 +0300
commitc0456be38fef2866b1dbeceb756485b001fa23b9 (patch)
treeff48172b118125d8f598d967c76561e02d89c497 /drivers/video/omap2/dss/dss_features.c
parent027bdc85ee74f8f456a47dc53154252ef7d1792f (diff)
downloadop-kernel-dev-c0456be38fef2866b1dbeceb756485b001fa23b9.zip
op-kernel-dev-c0456be38fef2866b1dbeceb756485b001fa23b9.tar.gz
OMAPDSS: HDMI: Split video_enable into video_enable/disable
To improve readability, split the video_enable HDMI IP operation into two separate functions for enabling and disabling video. The video_enable function is also modified to return an error value. While there, update these operations for the OMAP4 IP accordingly. Signed-off-by: Ricardo Neri <ricardo.neri@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/dss_features.c')
-rw-r--r--drivers/video/omap2/dss/dss_features.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/dss_features.c b/drivers/video/omap2/dss/dss_features.c
index 3a28c5c..234ed8a 100644
--- a/drivers/video/omap2/dss/dss_features.c
+++ b/drivers/video/omap2/dss/dss_features.c
@@ -568,6 +568,7 @@ static const struct ti_hdmi_ip_ops omap4_hdmi_functions = {
.pll_enable = ti_hdmi_4xxx_pll_enable,
.pll_disable = ti_hdmi_4xxx_pll_disable,
.video_enable = ti_hdmi_4xxx_wp_video_start,
+ .video_disable = ti_hdmi_4xxx_wp_video_stop,
.dump_wrapper = ti_hdmi_4xxx_wp_dump,
.dump_core = ti_hdmi_4xxx_core_dump,
.dump_pll = ti_hdmi_4xxx_pll_dump,
OpenPOWER on IntegriCloud