]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "drm: bridge: mcde_dsi: Switch to devm_drm_of_get_bridge"
authorJagan Teki <jagan@amarulasolutions.com>
Fri, 29 Apr 2022 08:59:47 +0000 (14:29 +0530)
committerMaxime Ripard <maxime@cerno.tech>
Wed, 4 May 2022 15:06:31 +0000 (17:06 +0200)
commit0ef1413654652f51fa336377f12175f6a1159535
treeede9f37e4e983484f2c0e2819593b9a012480849
parentc3529f480f78d4e43625dfbc270b2771797c3b39
Revert "drm: bridge: mcde_dsi: Switch to devm_drm_of_get_bridge"

commit <24a5f3ea84d9> ("drm: bridge: mcde_dsi: Switch to devm_drm_of_get_bridge")
switched to devm_drm_of_get_bridge for looking up if child node has panel
or bridge.

However commit <3f58f7e086a1> ("Revert "drm: of: Lookup if child node
has panel or bridge") has reverted panel or bridge child node lookup
from devm_drm_of_get_bridge as it breaks the non-trivial cases the
first child node might not be a panel or bridge.

So, revert this commit to switch the previous behavior of looking up
child panel or bridge.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20220429085947.1699963-2-jagan@amarulasolutions.com
drivers/gpu/drm/mcde/mcde_dsi.c