Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2ea9f317 authored by Philipp Zabel's avatar Philipp Zabel
Browse files

drm/mediatek: mtk_dsi: Remove spurious drm_connector_unregister



Connectors are unregistered by mtk_drm_drv via drm_connector_unregister_all().

Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
parent 515ba6a5
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -695,11 +695,9 @@ static void mtk_dsi_destroy_conn_enc(struct mtk_dsi *dsi)
{
	drm_encoder_cleanup(&dsi->encoder);
	/* Skip connector cleanup if creation was delegated to the bridge */
	if (dsi->conn.dev) {
		drm_connector_unregister(&dsi->conn);
	if (dsi->conn.dev)
		drm_connector_cleanup(&dsi->conn);
}
}

static void mtk_dsi_ddp_start(struct mtk_ddp_comp *comp)
{