OSDN Git Service

drm/bridge: it66121: Wait for next bridge to be probed
authorPaul Cercueil <paul@crapouillou.net>
Fri, 27 Aug 2021 16:39:56 +0000 (17:39 +0100)
committerRobert Foss <robert.foss@linaro.org>
Tue, 31 Aug 2021 14:12:52 +0000 (16:12 +0200)
commit8b03e3fc79189b17d31a82f5e175698802a11e87
tree41daad41a2e7739f335c4e908bf0294993e7c6f3
parent3a5f3d61de657bc1c2b53b77d065c5526f982e10
drm/bridge: it66121: Wait for next bridge to be probed

If run before the next bridge is initialized, of_drm_find_bridge() will
give us a NULL pointer.

If that's the case, return -EPROBE_DEFER; we may have more luck next
time.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Fixes: 988156dc2fc9 ("drm: bridge: add it66121 driver")
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210827163956.27517-2-paul@crapouillou.net
drivers/gpu/drm/bridge/ite-it66121.c