]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drm: exynos: dsi: Drop explicit call to bridge detach
authorJagan Teki <jagan@amarulasolutions.com>
Wed, 8 Mar 2023 16:39:38 +0000 (22:09 +0530)
committerInki Dae <inki.dae@samsung.com>
Tue, 28 Mar 2023 00:05:39 +0000 (09:05 +0900)
Exynos DSI already converted into a bridge driver, so bridge
detach will suppose happened during bridge chain removal done
by the bridge core.

Drop the explicit call chain to detach the bridge.

Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_dsi.c

index 06d6513ddaae3d325d3221c9fec29315905e6658..df15501b10752842e33d71a2190a449c4cc57b1e 100644 (file)
@@ -1531,8 +1531,6 @@ static int exynos_dsi_host_detach(struct mipi_dsi_host *host,
        struct exynos_dsi *dsi = host_to_dsi(host);
        struct drm_device *drm = dsi->encoder.dev;
 
-       if (dsi->out_bridge->funcs->detach)
-               dsi->out_bridge->funcs->detach(dsi->out_bridge);
        dsi->out_bridge = NULL;
 
        if (drm->mode_config.poll_enabled)