]> git.karo-electronics.de Git - linux-beck.git/commit
drm: bridge: Detach bridge from encoder at encoder cleanup time
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 28 Nov 2016 16:32:05 +0000 (18:32 +0200)
committerArchit Taneja <architt@codeaurora.org>
Sun, 18 Dec 2016 11:02:49 +0000 (16:32 +0530)
commit4a878c03d56214a3dcf1a014e17c93bcdc587668
tree86dfb26724bec8cc0404b315e775e96ee2111e50
parent3bb80f249525c059572d4bc89ac77ac2e511bcbe
drm: bridge: Detach bridge from encoder at encoder cleanup time

Most drivers that use bridges forgot to detach them at cleanup time.
Instead of fixing them one by one, detach the bridge in the core
drm_encoder_cleanup() function.

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-5-git-send-email-laurent.pinchart+renesas@ideasonboard.com
drivers/gpu/drm/drm_bridge.c
drivers/gpu/drm/drm_crtc_internal.h
drivers/gpu/drm/drm_encoder.c
drivers/gpu/drm/drm_simple_kms_helper.c
drivers/gpu/drm/imx/imx-ldb.c
drivers/gpu/drm/imx/parallel-display.c
include/drm/drm_bridge.h
include/drm/drm_simple_kms_helper.h