projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
515ba6a
)
drm/mediatek: mtk_dsi: Remove spurious drm_connector_unregister
author
Philipp Zabel
<p.zabel@pengutronix.de>
Thu, 26 May 2016 14:08:18 +0000
(16:08 +0200)
committer
Philipp Zabel
<p.zabel@pengutronix.de>
Wed, 1 Jun 2016 14:09:56 +0000
(16:09 +0200)
Connectors are unregistered by mtk_drm_drv via drm_connector_unregister_all().
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/drm/mediatek/mtk_dsi.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/mediatek/mtk_dsi.c
b/drivers/gpu/drm/mediatek/mtk_dsi.c
index 2d808e59fefd388867cd66172bbc6fb08d162639..769559124562528ef8c4d217e47533511a47e523 100644
(file)
--- a/
drivers/gpu/drm/mediatek/mtk_dsi.c
+++ b/
drivers/gpu/drm/mediatek/mtk_dsi.c
@@
-695,10
+695,8
@@
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)