[alsa-devel] [PATCH] ASoC: rsnd: stop all working stream when .remove
Mark Brown
broonie at kernel.org
Tue Sep 5 16:04:00 CEST 2017
On Tue, Sep 05, 2017 at 01:35:58PM +0200, Takashi Iwai wrote:
> So my idea is something like below (totally untested): call
> snd_card_disconnect_sync() at the remove call of each component at the
> beginning.
> That assures stopping all pending operations and syncs with the file
> releases. For ASoC, we may want to wrap it with ASoC structs, but you
> can have an idea by this patch.
I'd say that in ASoC we'd have the call to this in the core rather than
wrapping it, I'd expect the first thing the drivers do is to unregister
the component.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20170905/79b0da01/attachment.sig>
More information about the Alsa-devel
mailing list