]> git.baikalelectronics.ru Git - kernel.git/commit
drm/exynos: Don't reset bridge->next
authorBoris Brezillon <boris.brezillon@collabora.com>
Wed, 23 Oct 2019 15:44:53 +0000 (17:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 11 Mar 2023 15:43:45 +0000 (16:43 +0100)
commit2256be82cdb7bbadf846855b3077f723fe4b1f9d
tree5cd8c70d0f37a1f4f1952a298a5e60f2ffc991a2
parent65d88c4d211e6281a5584865bc85ee18db083bf0
drm/exynos: Don't reset bridge->next

[ Upstream commit 38895ef17a3d3604aea9b70f701519ac9625ecf0 ]

bridge->next is only points to the new bridge if drm_bridge_attach()
succeeds. No need to reset it manually here.

Note that this change is part of the attempt to make the bridge chain
a double-linked list. In order to do that we must patch all drivers
manipulating the bridge->next field.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Inki Dae <inki.dae@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191023154512.9762-3-boris.brezillon@collabora.com
Stable-dep-of: 13fcfcb2a9a4 ("drm/msm/mdp5: Add check for kzalloc")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/exynos/exynos_dp.c