diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2018-03-07 00:34:53 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2018-09-03 16:13:28 +0300 |
commit | 43f7078f6b6f8fed8edfbbdeff83e276306e5e6e (patch) | |
tree | 730f5b2a47aed9665139be803d8d880d954d8a0e /drivers/gpu/drm/omapdrm/dss/venc.c | |
parent | 0f37938c7c432c7737d85940475bcbd3c362447e (diff) | |
download | linux-43f7078f6b6f8fed8edfbbdeff83e276306e5e6e.tar.xz |
drm/omap: dss: Remove the dss_mgr_(dis)connect() operations
The dss_mgr .connect() and .disconnect() are implemented as no-op in
omapdrm. The operations are unneeded, remove them.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/dss/venc.c')
-rw-r--r-- | drivers/gpu/drm/omapdrm/dss/venc.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/drivers/gpu/drm/omapdrm/dss/venc.c b/drivers/gpu/drm/omapdrm/dss/venc.c index 00421e2a8eb6..100a02a9447f 100644 --- a/drivers/gpu/drm/omapdrm/dss/venc.c +++ b/drivers/gpu/drm/omapdrm/dss/venc.c @@ -696,15 +696,9 @@ static int venc_connect(struct omap_dss_device *src, { int r; - r = dss_mgr_connect(dst); - if (r) - return r; - r = omapdss_device_connect(dst->dss, dst, dst->next); - if (r) { - dss_mgr_disconnect(dst); + if (r) return r; - } dst->dispc_channel_connected = true; return 0; @@ -716,8 +710,6 @@ static void venc_disconnect(struct omap_dss_device *src, dst->dispc_channel_connected = false; omapdss_device_disconnect(dst, dst->next); - - dss_mgr_disconnect(dst); } static const struct omap_dss_device_ops venc_ops = { |