drm/rockchip: dsi: Force synchronous probe
authorBrian Norris <briannorris@chromium.org>
Thu, 20 Oct 2022 00:03:49 +0000 (17:03 -0700)
committerHeiko Stuebner <heiko@sntech.de>
Sat, 29 Oct 2022 12:40:35 +0000 (14:40 +0200)
commit81e592f86f7afdb76d655e7fbd7803d7b8f985d8
tree3943f309d295319d1ae28e83f5b7c6bb67682ccb
parent0be67e0556e469c57100ffe3c90df90abc796f3b
drm/rockchip: dsi: Force synchronous probe

We can't safely probe a dual-DSI display asynchronously
(driver_async_probe='*' or driver_async_probe='dw-mipi-dsi-rockchip'
cmdline), because dw_mipi_dsi_rockchip_find_second() pokes one DSI
device's drvdata from the other device without any locking.

Request synchronous probe, at least until this driver learns some
appropriate locking for dual-DSI initialization.

Cc: <stable@vger.kernel.org>
Signed-off-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20221019170255.2.I6b985b0ca372b7e35c6d9ea970b24bcb262d4fc1@changeid
drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c