Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp399012pxb; Wed, 18 Aug 2021 05:10:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzLW5014VQ8AOSkFMeoZwu74b1dhtQSYJk3/Sz6aBqjSCqBTCK9vAdFOXCfv4TsorisXKVY X-Received: by 2002:a17:906:3854:: with SMTP id w20mr9233689ejc.537.1629288603766; Wed, 18 Aug 2021 05:10:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629288603; cv=none; d=google.com; s=arc-20160816; b=Ph6e8x/KR2H4qfVb3iAMVNsP9h/wIrNeiw+icWBUQ9fUozWbI53lSdm8dlFtuMpL8M XEp/nZa9B/dvFl7Dodb0IF36gIjA2SBdA1cBSBr+vVxvHvhcq5Iq8tgjC0pVKeOiPewc 3vSXVSWP82bWYAntGtRXhyMtsWWmZpWxDNcU1fWuJunS7fMqKUxK4YvJCmA2iGU7CqBC ERkxjq+B++1UMVIZyT1UmOzlFKi8VvAgs0BrPqkbkTZ+6gqsVNVBsmWIRRBMIQzBiMPN cGz2wnacP+htJTYjCV/R1ZoM4UlFL/0EOXZfzFa/tU42CQKlz/oPYyZRYFiexGKGApNk o0gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=Ep5l8tYzIYsK2FnLmVepRbgNGaZnUxir/ZZzgRmz1vE=; b=cM4AHslqTnMmH/gY0sI1RVUrW8AvPI5HMk1l/Nx1ZS//elVPpP7Gqm1y43mYxrrjCI alGnBYaPX+lpcW6Wj8bEWYMal7IAyIHPD+Td/q0TGAPZD6MmObN0pPhQpxiFCAd0hYcM lgMAlwcL8um7D/8np33tljZy6vL4WAVofwen2Xf9OqfIgqRa8BgUdrBXOIjcJQyrnYJg FG0WYhL1VaXIDetZtsMUKcdIGGa72D6/AGBI7CVQyb/uFoZDcQo39/ajLAJ62z0dOhIj G9/bk2Gh9yXOM0cEyRKJUKpBlTunpGNFE6TaJMQQfMhhUzh1yS9o5B/v8BFpAT9A+RAo cKkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BnjVsNFB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w10si6405990ejv.584.2021.08.18.05.09.34; Wed, 18 Aug 2021 05:10:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BnjVsNFB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231476AbhHRMIB (ORCPT + 99 others); Wed, 18 Aug 2021 08:08:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:44380 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233061AbhHRMH6 (ORCPT ); Wed, 18 Aug 2021 08:07:58 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 539A160F58; Wed, 18 Aug 2021 12:07:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1629288443; bh=6PiupebDXSJROvJfhgJanrhOdurpeH4omGhk2uoLVmo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=BnjVsNFB/vyNS5JJ2Vxi7yBLVPp730FtDqtNUCEZwQf3V3is0+w5TIZDcxwnD6wU8 MQcdDtCKuzvByhw5W9nrnrRXYPGIYxQQEt3xAlNF8UXQsD3kyR3W02v1psSHef3TFP NY8gHSDa3Dj2N9QOBo5J8e8DuYSaWPQy+YO5M5DChB8LvQ2Eib+UW8oRp7OnRdjHyW 3mGpG4mqCvtHdTvlTwJFSn/gvauS9Qqbtxmq+kbqh1SJQWeN5NNWGQa7RiVOIKCPrj Ohe61T+omTzdomT6WbKNRYU1C4cM8SWxupJzo2FcMLBjoXWvnX9yOo01su20wazPBk yBIQY5tsf5uUg== Date: Wed, 18 Aug 2021 13:07:00 +0100 From: Mark Brown To: Pierre-Louis Bossart Cc: alsa-devel@alsa-project.org, tiwai@suse.de, vkoul@kernel.org, liam.r.girdwood@linux.intel.com, Andy Shevchenko , Dan Williams , Jason Gunthorpe , Christoph Hellwig , Greg Kroah-Hartman , "Rafael J . Wysocki" , linux-kernel@vger.kernel.org, Liam Girdwood , Ranjani Sridharan , Kai Vehmanen , Daniel Baluta , Jaroslav Kysela , Takashi Iwai , "moderated list:SOUND - SOUND OPEN FIRMWARE (SOF) DRIVERS" Subject: Re: [RFC PATCH 2/2] ASoC: SOF: trigger re-probing of deferred devices from workqueue Message-ID: <20210818120700.GB4177@sirena.org.uk> References: <20210817190057.255264-1-pierre-louis.bossart@linux.intel.com> <20210817190057.255264-3-pierre-louis.bossart@linux.intel.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="2B/JsCI69OhZNC5r" Content-Disposition: inline In-Reply-To: <20210817190057.255264-3-pierre-louis.bossart@linux.intel.com> X-Cookie: She sells cshs by the cshore. User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --2B/JsCI69OhZNC5r Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 *sde= v) > =20 > sdev->probe_completed =3D true; > =20 > + /* 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? --2B/JsCI69OhZNC5r Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmEc9+MACgkQJNaLcl1U h9Cr2wf/S8qlM4N0JWIvZi7CnLhjjIa1inDcejhDhF6aDSXP6gDFHmGDK4OhxQlK DEUOhSBihTPTAXLvenYyDTli/yFrIgBTOo/t+w0to519OkfZG6/81SAkYhABSUau y7J4dhO4eek/QqkG5vBywhtHBIRwV3SfVludEZGjxp8TZ+jqXgsZffAt7Wv3TOF1 L4g+Ska/mS6uRNZBiK/Vhdrh16i1QHMF3RGITcV7tkNao2apxdmy6kfqgoOZjYqy QvkfkRJVrsDAgz+MkqPCr5L1LzkdDvfd1eprBtJ34Qdz/++Cp98XdC6xkBo7d7yh XAuqs55hifZNeYfaKq7a0X1ZSjaeQQ== =1j3q -----END PGP SIGNATURE----- --2B/JsCI69OhZNC5r--