drm/mediatek: fix unbind functions
authorHsin-Yi Wang <hsinyi@chromium.org>
Wed, 29 May 2019 10:25:52 +0000 (18:25 +0800)
committerCK Hu <ck.hu@mediatek.com>
Tue, 4 Jun 2019 01:27:59 +0000 (09:27 +0800)
commit8fd7a37b191f93737f6280a9b5de65f98acc12c9
treedaba58ce42e457bfe20626f8ab10c0140254bc39
parent46a3b9fce29386704a56fbfb22e0dcdbd813b4b5
drm/mediatek: fix unbind functions

detatch panel in mtk_dsi_destroy_conn_enc(), since .bind will try to
attach it again.

Fixes: 2e54c14e310f ("drm/mediatek: Add DSI sub driver")
Signed-off-by: Hsin-Yi Wang <hsinyi@chromium.org>
Signed-off-by: CK Hu <ck.hu@mediatek.com>
drivers/gpu/drm/mediatek/mtk_dsi.c