[alsa-devel] [PATCH 1/2] ASoC: core: call snd_soc_unregister_card() when component cleanup

Mark Brown broonie at kernel.org
Mon Feb 9 09:22:17 CET 2015


On Mon, Feb 09, 2015 at 02:48:09AM +0000, Kuninori Morimoto wrote:

> In normal ASoC card, it will re-try .probe if necessary cpu/codec was not probed
> (= -EPROBE_DEFER in soc_bind_dai_link()).
> This is the before state of card was instantiated.
> Returning everything to the before state = unregister card is very natural I think...
> If possible, we want to add this card driver to deferred_probe_pending_list
> in drivers/base/dd.c, but it is over kill ?

That's something we need to do, we're relying on deferred probe to
instantiate the cards when their components are registered.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20150209/8529ce2c/attachment.sig>


More information about the Alsa-devel mailing list