drm/mediatek: fix unbind functions
authorHsin-Yi Wang <hsinyi@chromium.org>
Wed, 29 May 2019 10:25:52 +0000 (18:25 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Jul 2019 07:54:32 +0000 (09:54 +0200)
commit6042bfc5f38e33db0feb9873ec4d8e6ba044d251
tree3d74b5d1384eed90fc56a37b90c3d2d57ab312e9
parent4adcbc46469d40a9dd1904072b096ab9d1a18739
drm/mediatek: fix unbind functions

[ Upstream commit 8fd7a37b191f93737f6280a9b5de65f98acc12c9 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/mediatek/mtk_dsi.c