[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:20:16 CET 2015


On Mon, Feb 09, 2015 at 01:06:13AM +0000, Kuninori Morimoto wrote:

> It needs more and more change if we solve this issue without above hack,
> then, it is very difficult to check all consistency for all features, all situation.
> I'm afraid that it can be next bug.

Yes, pretty much - that's half of the reason why this is the way it is.
Not many people want to do this and it's hard to get working.

> So, how about this ? if un-loaded component unregister card, and if re-loaded component
> re-register un-loaded card automatically, it is easy, and safety ?

I'm not 100% sure what that would look like - presumably something would
need to remember the card?
-------------- 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/52b4b293/attachment.sig>


More information about the Alsa-devel mailing list