提交 a109f66f 编写于 作者: S Stefan Agner

drm/fsl-dcu: detach panel on destroy

Disable the earlier attached panel on connector destroy.
Signed-off-by: NStefan Agner <stefan@agner.ch>
上级 a5dab991
......@@ -79,7 +79,10 @@ int fsl_dcu_drm_encoder_create(struct fsl_dcu_drm_device *fsl_dev,
static void fsl_dcu_drm_connector_destroy(struct drm_connector *connector)
{
struct fsl_dcu_drm_connector *fsl_con = to_fsl_dcu_connector(connector);
drm_connector_unregister(connector);
drm_panel_detach(fsl_con->panel);
drm_connector_cleanup(connector);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册