[alsa-devel] [PATCH 15/20] ASoC: fsl: make fsl_ssi driver compilable on ARM/IMX
B04825 at freescale.com
Mon Mar 5 00:32:50 CET 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?
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.
Linux kernel developer at Freescale
More information about the Alsa-devel