Commit 97ee731d authored by Eric Anholt's avatar Eric Anholt

drm/vc4: Fix errant drm_bridge_remove() in DSI.

drm_bridge_remove() is for unregistering a bridge driver, not for
detaching a bridge from its consumer.

Fixes: 656fa22f ("drm/vc4: Switch DSI to the panel-bridge layer, and support bridges.")
Signed-off-by: default avatarEric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20170802203242.12815-3-eric@anholt.netAcked-by: default avatarNoralf Trønnes <noralf@tronnes.org>
Reviewed-by: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
parent 2cbf59fd
...@@ -1636,7 +1636,6 @@ static void vc4_dsi_unbind(struct device *dev, struct device *master, ...@@ -1636,7 +1636,6 @@ static void vc4_dsi_unbind(struct device *dev, struct device *master,
pm_runtime_disable(dev); pm_runtime_disable(dev);
drm_bridge_remove(dsi->bridge);
vc4_dsi_encoder_destroy(dsi->encoder); vc4_dsi_encoder_destroy(dsi->encoder);
mipi_dsi_host_unregister(&dsi->dsi_host); mipi_dsi_host_unregister(&dsi->dsi_host);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment