]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf579ee12987761c7fb11c3a787802cf16aa84816
treec491e6b823978d5bbc9c692dbbadcf51f7340d79
parent1128f8f58b6cfd8bf5bbfcf45e2baf81e1d84d4f
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: bf8c2e35f677 ("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