]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/bridge: lt9611uxc: Register and attach our DSI device at probe
authorMaxime Ripard <maxime@cerno.tech>
Mon, 25 Oct 2021 15:15:25 +0000 (17:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Nov 2023 10:08:20 +0000 (11:08 +0100)
commit29aba28ea195182f547cd8dac1b80eed51b6b73d
tree5bce00819f6ecc2b4d04c3ce8bf88966ccceb229
parentf53a045793289483b3c2930007fc52c7f1f642d5
drm/bridge: lt9611uxc: Register and attach our DSI device at probe

[ Upstream commit 4a46ace5ac621c0f84b3910bc3c93acf6c93963b ]

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-11-maxime@cerno.tech
Stable-dep-of: 15fe53be46ea ("drm/bridge: lt9611uxc: fix the race in the error path")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/bridge/lontium-lt9611uxc.c