Re: [PATCH] drm/mipi-dsi: Fix detach call without attach

From: H. Nikolaus Schaller
Date: Fri Sep 22 2023 - 07:47:23 EST


Hi,
I have tested this on an OMAP5 Pyra.

> Am 21.09.2023 um 12:50 schrieb Tomi Valkeinen <tomi.valkeinen@xxxxxxxxxxxxxxxx>:
>
> It's been reported that DSI host driver's detach can be called without
> the attach ever happening:
>
> https://lore.kernel.org/all/20230412073954.20601-1-tony@xxxxxxxxxxx/
>

This patch works equally well as my proposal and is indeed a better solution
(solving the issue and not just suppressing a warning).

Tested-by: H. Nikolaus Schaller <hns@xxxxxxxxxxxxx>

BR and thanks,
Nikolaus