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

Tabi Timur-B04825 B04825 at freescale.com
Sun Mar 4 18:32:50 EST 2012


Russell King - ARM Linux wrote:
> Is the SCR shared between capture and playback?  In that case, what
> makes this read-modify-write thread safe?

What's "SCR"?

It's not thread-safe on PPC, but then neither is the entire function.  You 
can't have two threads attempt to initialize the hardware at the same 
time.  The macro does not attempt to be atomic, just convenient.

-- 
Timur Tabi
Linux kernel developer at Freescale



More information about the linux-arm-kernel mailing list