Re: [RFC PATCH 2/2] ASoC: SOF: trigger re-probing of deferred devices from workqueue

From: Mark Brown
Date: Wed Aug 18 2021 - 08:07:29 EST


On Tue, Aug 17, 2021 at 02:00:57PM -0500, Pierre-Louis Bossart wrote:

> +++ b/sound/soc/sof/core.c
> @@ -251,6 +251,9 @@ static int sof_probe_continue(struct snd_sof_dev *sdev)
>
> sdev->probe_completed = true;
>
> + /* kick-off re-probing of deferred devices */
> + driver_deferred_probe_trigger();
> +

I think we should move this into snd_soc_register_component() - the same
issue could occur with any other component, the only other thing I can
see kicking in here is the machine driver registration but that ought to
kick probe itself anyway. Or is there some other case here?

Attachment: signature.asc
Description: PGP signature