Re: [PATCH] drm/sun4i: dsi: Avoid hotplug race with DRM driver bind
From: Maxime Ripard
Date: Wed Feb 19 2020 - 10:58:02 EST
On Mon, Feb 17, 2020 at 12:09:06AM -0600, Samuel Holland wrote:
> We need to make sure that the DRM driver is fully registered before
> allowing the panel to be attached. Otherwise, we may trigger a hotplug
> event before sun4i_framebuffer_init() sets up drm->mode_config.funcs,
> causing a NULL pointer dereference.
>
> Fixes: 1a2703bd7356 ("drm/sun4i: dsi: Allow binding the host without a panel")
> Signed-off-by: Samuel Holland <samuel@xxxxxxxxxxxx>
Thanks for following up on this, I've applied it
Maxime
Attachment:
signature.asc
Description: PGP signature