Re: [PATCH] ASoC: rsnd: stop all working stream when .remove

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux