Re: [PATCH] ALSA: hda_intel: disable corb rirb when single_cmd active

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

 



At Wed, 11 Nov 2009 12:05:39 -0700,
Troy Kisky wrote:
> 
> Takashi Iwai wrote:
> > Yes, in theory.  But this doesn't happen actually because you usually
> > read the response often.  The read sequence synchronizes.
> > 
> > 
> Can resume type processing send a lot of verbs without waiting for a response?

Usually not many like 256, I guess.  In doubt, give some printks and
count by yourself...

> Speaking of synchronizing, if 2 different processes simultaneously send
> different command verbs to the same codec, won't they both read the response
> of the last verb sent? Or is there locking somewhere to prevent this?

A mutex protection around the send/response pair.


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