Re: [PATCH 12/15] ALSA: line6: Give up on the lock while URBs are released.

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

 



On Fri, 12 Aug 2016 13:14:35 +0200,
Andrej Kruták wrote:
> 
> On Fri, Aug 12, 2016 at 10:45 AM, Takashi Iwai <tiwai@xxxxxxx> wrote:
> > On Thu, 11 Aug 2016 21:02:24 +0200,
> > Andrej Krutak wrote:
> >>
> >> Done, because line6_stream_stop() locks and calls line6_unlink_audio_urbs(),
> >> which in turn invokes audio_out_callback(), which tries to lock 2nd time.
> >
> > Ditto, write the patch right from the beginning :)
> >
> >
> 
> This actually fixes a lock-bug in the code, so I think I'll send it
> separately (like patch 15). Will think about it...

Ah, right, this is the bug in the upstream code.  Then you should
submit it individually, instead of burying in a patchset.


Takashi
_______________________________________________
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