]> Git Repo - linux.git/commitdiff
drm: bridge: mcde_dsi: Drop explicit bridge remove
authorJagan Teki <[email protected]>
Fri, 1 Apr 2022 15:05:33 +0000 (20:35 +0530)
committerRobert Foss <[email protected]>
Mon, 4 Apr 2022 09:14:32 +0000 (11:14 +0200)
This driver has been changed to use the resource managed
devm_drm_of_get_bridge() to get bridge from ->bind(), it's
unnecessary to call drm_of_panel_bridge_remove() to remove the
bridge from ->unbind() as devm_drm_of_get_bridge()
is automatically remove the bridge when @dev is unbound.

Drop it the drm_bridge_remove().

Cc: Linus Walleij <[email protected]>
Reported-by: Maxime Ripard <[email protected]>
Signed-off-by: Jagan Teki <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Signed-off-by: Robert Foss <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/mcde/mcde_dsi.c

index 083a4728654da67d3cb4aab55302f47ea3e6fe0c..960b49ea2ee51f2e6ae91751761be8360ef207fc 100644 (file)
@@ -1122,7 +1122,6 @@ static void mcde_dsi_unbind(struct device *dev, struct device *master,
 {
        struct mcde_dsi *d = dev_get_drvdata(dev);
 
-       drm_bridge_remove(d->bridge_out);
        regmap_update_bits(d->prcmu, PRCM_DSI_SW_RESET,
                           PRCM_DSI_SW_RESET_DSI0_SW_RESETN, 0);
 }
This page took 0.06525 seconds and 4 git commands to generate.