drm: exynos: dsi: Use child panel or bridge find helpers
authorJagan Teki <jagan@amarulasolutions.com>
Thu, 28 Apr 2022 09:48:08 +0000 (15:18 +0530)
committerMaxime Ripard <maxime@cerno.tech>
Wed, 4 May 2022 15:07:14 +0000 (17:07 +0200)
commitea16c74c29d7e5c9e526cd869f1a928c74b52c44
tree77998acbcda53d3329f7bccfc914ed551a0b81ce
parent4b6fd25f3a4c3369679d01d127d81c7b2f384877
drm: exynos: dsi: Use child panel or bridge find helpers

commit <711c7adc4687> ("drm: exynos: dsi: Use drm panel_bridge API")
added devm_drm_of_get_bridge for looking up if child node has panel
or bridge.

However commit <b089c0a9b14c> ("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 which eventually failed to find the DSI
devices in exynos drm dsi driver.

So, use the conventional child panel bridge lookup helpers like it
does before.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20220428094808.782938-1-jagan@amarulasolutions.com
drivers/gpu/drm/exynos/exynos_drm_dsi.c