Re: [PATCH] Revised AT32 ASoC Patch

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

 



At Wed, 4 Jun 2008 14:28:07 +0100,
Mark Brown wrote:
> 
> On Wed, Jun 04, 2008 at 02:01:55PM +0200, Takashi Iwai wrote:
> > Geoffrey Wossum wrote:
> 
> > > +struct at32_ssc_info {
> > > +	char *name;
> > > +	struct ssc_device *ssc;
> > > +	spinlock_t lock;	/* lock for dir_mask */
> 
> > Just wondering whether this lock is really needed.
> > Is it really racy?
> 
> Bidirectional ports could be in two PCMs and have configuration
> happening simultaneously.

Fair enough.

But, it's no fast code path, and maybe one global mutex would be
enough for such a purpose, though.


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