OSDN Git Service

drm/bridge: sn65dsi86: defer if there is no dsi host
authorRob Clark <robdclark@chromium.org>
Tue, 7 Dec 2021 21:57:52 +0000 (13:57 -0800)
committerDouglas Anderson <dianders@chromium.org>
Wed, 8 Dec 2021 16:47:10 +0000 (08:47 -0800)
commit03848335b5b1faa4a4641fcf30b7c233579a45aa
treec491e6b823978d5bbc9c692dbbadcf51f7340d79
parentd6c75c295f67b26fad8ba2e72db80e0f744e9da9
drm/bridge: sn65dsi86: defer if there is no dsi host

Otherwise we don't get another shot at it if the bridge probes before
the dsi host is registered.  It seems like this is what *most* (but not
all) of the other bridges do.

It looks like this was missed in the conversion to attach dsi host at
probe time.

Fixes: c3b75d4734cb ("drm/bridge: sn65dsi86: Register and attach our DSI device at probe")
Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Doug Anderson <dianders@chromium.org>
Tested-by: Doug Anderson <dianders@chromium.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
[dianders: squashed in Stephen's simplification]
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20211207215753.635841-1-robdclark@gmail.com
drivers/gpu/drm/bridge/ti-sn65dsi86.c