aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/omap_crtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_crtc.c')
-rw-r--r--drivers/gpu/drm/omapdrm/omap_crtc.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_crtc.c b/drivers/gpu/drm/omapdrm/omap_crtc.c
index 5a56c8e02179..90917d040ddb 100644
--- a/drivers/gpu/drm/omapdrm/omap_crtc.c
+++ b/drivers/gpu/drm/omapdrm/omap_crtc.c
@@ -114,12 +114,6 @@ static int omap_crtc_dss_connect(struct omap_drm_private *priv,
114 enum omap_channel channel, 114 enum omap_channel channel,
115 struct omap_dss_device *dst) 115 struct omap_dss_device *dst)
116{ 116{
117 const struct dispc_ops *dispc_ops = priv->dispc_ops;
118 struct dispc_device *dispc = priv->dispc;
119
120 if (!(dispc_ops->mgr_get_supported_outputs(dispc, channel) & dst->id))
121 return -EINVAL;
122
123 dst->dispc_channel_connected = true; 117 dst->dispc_channel_connected = true;
124 118
125 return 0; 119 return 0;