[PATCH 1/2] drm/rockchip: dsi: Clean up 'usage_mode' when failing to attach
Heiko Stuebner
heiko at sntech.de
Sat Oct 29 06:00:45 PDT 2022
On Wed, 19 Oct 2022 17:03:48 -0700, Brian Norris wrote:
> If we fail to attach the first time (especially: EPROBE_DEFER), we fail
> to clean up 'usage_mode', and thus will fail to attach on any subsequent
> attempts, with "dsi controller already in use".
>
> Re-set to DW_DSI_USAGE_IDLE on attach failure.
>
> This is especially common to hit when enabling asynchronous probe on a
> duel-DSI system (such as RK3399 Gru/Scarlet), such that we're more
> likely to fail dw_mipi_dsi_rockchip_find_second() the first time.
>
> [...]
Applied, thanks!
[1/2] drm/rockchip: dsi: Clean up 'usage_mode' when failing to attach
commit: 0be67e0556e469c57100ffe3c90df90abc796f3b
[2/2] drm/rockchip: dsi: Force synchronous probe
commit: 81e592f86f7afdb76d655e7fbd7803d7b8f985d8
Best regards,
--
Heiko Stuebner <heiko at sntech.de>
More information about the Linux-rockchip
mailing list