[alsa-devel] [PATCH] ASoC: rsnd: stop all working stream when .remove
Kuninori Morimoto
kuninori.morimoto.gx at renesas.com
Wed Oct 11 08:52:09 CEST 2017
Hi Takashi-san, again
> > > I added my local patch on this mail.
> > > Maybe we want to separate this patch into few small patches.
> > > but can you review this ?
> > > It is including
> > > - your patch
> > > - snd_pcm_stop() snd_pcm_do_stop() care DISCONNECTED
> >
> > That needs a bit more investigation.
> > When the device is disconnected, not all drivers expect that further
> > PCM operations are done for non-existing devices. We might need
> > either some flag to allow/prefer the stop-after-disconnection, or
> > rethink whether we should actually stop at snd_pcm_dev_disconnect()
> > like below.
>
> Thank you for below patch.
> I will check/test it
It solved my issue (without strange status magic :).
I posted this patch-set. [1/3] is your patch but I posted.
Please check (and fix) it
Best regards
---
Kuninori Morimoto
More information about the Alsa-devel
mailing list