Re: [PATCH] drm/vc4: drv: Avoid possible NPD when booted without KMS

2024-02-21 Thread Maxime Ripard
Hi, On Sat, Feb 17, 2024 at 04:07:20PM +0100, Stefan Wahren wrote: > From: Dom Cobley > > In case there is no matching KMS, Sorry, I'm not sure what a matching KMS is supposed to be here? > the function vc4_match_add_driver won't change the match pointer which > is initialized with NULL. Since

[PATCH] drm/vc4: drv: Avoid possible NPD when booted without KMS

2024-02-17 Thread Stefan Wahren
From: Dom Cobley In case there is no matching KMS, the function vc4_match_add_driver won't change the match pointer which is initialized with NULL. Since component_master_add_with_match doesn't expected match to be a NULL pointer, this results into a NPD. Fixes: c8b75bca92cb ("drm/vc4: Add KMS s