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!
Attachment:
signature.asc
Description: PGP signature