exynos: drm: dsi: Attach in_bridge in MIC driver
authorJagan Teki <jagan@amarulasolutions.com>
Thu, 3 Mar 2022 16:36:51 +0000 (22:06 +0530)
committerRobert Foss <robert.foss@linaro.org>
Thu, 31 Mar 2022 14:21:41 +0000 (16:21 +0200)
commitdd8b6803bc4914cbcd15470eccc4b887fbaa7642
tree8dd394874ad17c88bef667b237bbe213f0dbbd72
parent934aef885f9d99662a02690de3737b3b70116121
exynos: drm: dsi: Attach in_bridge in MIC driver

MIC drivers in the Exynos5433 display pipeline are already registered
as bridge drivers and it is more advisable to attach the downstream
bridge on the bridge attach call instead of doing the same in the
DSI driver.

This makes bridge attachment more meaningful and avoids the races
during bridge function calls.

So, move the bridge finding and drm_bridge_attach from DSI to MIC.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Acked-by: Marek Szyprowski <m.szyprowski@samsung.com>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220303163654.3381470-4-jagan@amarulasolutions.com
drivers/gpu/drm/exynos/exynos_drm_dsi.c
drivers/gpu/drm/exynos/exynos_drm_mic.c