Skip to content

Commit

Permalink
drm/vc4: Fix errant drm_bridge_remove() in DSI.
Browse files Browse the repository at this point in the history
drm_bridge_remove() is for unregistering a bridge driver, not for
detaching a bridge from its consumer.

Fixes: 656fa22 ("drm/vc4: Switch DSI to the panel-bridge layer, and support bridges.")
Signed-off-by: Eric Anholt <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Acked-by: Noralf Trønnes <[email protected]>
Reviewed-by: Boris Brezillon <[email protected]>
  • Loading branch information
anholt committed Aug 8, 2017
1 parent 2cbf59f commit 97ee731
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/gpu/drm/vc4/vc4_dsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1636,7 +1636,6 @@ static void vc4_dsi_unbind(struct device *dev, struct device *master,

pm_runtime_disable(dev);

drm_bridge_remove(dsi->bridge);
vc4_dsi_encoder_destroy(dsi->encoder);

mipi_dsi_host_unregister(&dsi->dsi_host);
Expand Down

0 comments on commit 97ee731

Please sign in to comment.