OSDN Git Service

drm/bridge: tc358775: Register and attach our DSI device at probe
authorMaxime Ripard <maxime@cerno.tech>
Mon, 25 Oct 2021 15:15:34 +0000 (17:15 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Wed, 27 Oct 2021 20:07:58 +0000 (22:07 +0200)
commit4d77688ff27c7d030b5113f0cf0b0a2a433b2a62
treecea66583468509bb852b33e1c935e7b0eaf09aba
parent526dcedf877fab36d2847fa1446975ab4285f226
drm/bridge: tc358775: Register and attach our DSI device at probe

In order to avoid any probe ordering issue, the best practice is to move
the secondary MIPI-DSI device registration and attachment to the
MIPI-DSI host at probe time. Let's do this.

Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20211025151536.1048186-20-maxime@cerno.tech
drivers/gpu/drm/bridge/tc358775.c