[alsa-devel] [RFC][PATCH] ASoC: soc-core: verify Sound Card normality
Mark Brown
broonie at kernel.org
Tue Apr 4 14:37:53 CEST 2017
On Fri, Mar 31, 2017 at 09:48:02AM +0200, Takashi Iwai wrote:
> Mark Brown wrote:
> > flag directly when we see a problem call a function to do it. That way
> > if we want to improve things in the future we can do that without having
> > to update the callers again.
> BTW, ALSA core has snd_card_disconnect() that does this kind of
> shut-up from user-space. It was introduced for hot-unplug, but
> basically unbinding is the software hot-unplug. So, if ASoC won't
> rebind a once-unbound component, you can simply call
> snd_card_disconnect() at the component unbinding time to assure that
> no further user actions can be done.
Ah, that's exactly the sort of improvement I was thinking of!
-------------- 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/20170404/b2a633d1/attachment.sig>
More information about the Alsa-devel
mailing list