[alsa-devel] [PATCH 15/20] ASoC: fsl: make fsl_ssi driver compilable on ARM/IMX

Takashi Iwai tiwai at suse.de
Tue Mar 6 14:46:24 CET 2012


At Tue, 6 Mar 2012 13:38:18 +0000,
Mark Brown wrote:
> 
> On Tue, Mar 06, 2012 at 02:26:28PM +0100, Takashi Iwai wrote:
> > Mark Brown wrote:
> > > On Tue, Mar 06, 2012 at 12:25:16PM +0000, Russell King - ARM Linux wrote:
> 
> > > whenever you need to call back into the ALSA APIs.  Though of course I'm
> > > pretty sure there's a bunch of uniprocessor assumptions through the body
> > > of driver code anyway...
> 
> > Not that much actually.  On the contrary, because of the current
> > design allowing concurrent accesses, many codes have been written
> > rather in too complex and messy ways.  It could have been much
> > simplified if we didn't consider the concurrent accesses to each
> > substream.
> 
> Right, but I'm fairly sure that at least some of the driver code is
> relying on uniprocessor assumptions for what it's doing - there's a
> bunch of things that can't happen on unipocessor that can happen on
> SMP (or preempting) systems.

Yeah, the driver codes.  There must be handful such ones...


Takashi


More information about the Alsa-devel mailing list