drm: bridge: Detach all bridges in a chain at encoder cleanup time
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 29 Nov 2016 18:55:44 +0000 (20:55 +0200)
committerArchit Taneja <architt@codeaurora.org>
Sun, 18 Dec 2016 11:02:49 +0000 (16:32 +0530)
commit6e15174ecd7ace10f1f996d4bc28b583987fcbac
tree849346e7e5905a16a58a3b9ce823d24a5f848f2e
parent4a878c03d56214a3dcf1a014e17c93bcdc587668
drm: bridge: Detach all bridges in a chain at encoder cleanup time

Instead of detaching only the bridge directly connected to the encoder,
detach all bridges in the chain.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1481709550-29226-6-git-send-email-laurent.pinchart+renesas@ideasonboard.com
drivers/gpu/drm/drm_encoder.c