From mboxrd@z Thu Jan 1 00:00:00 1970 From: linux@arm.linux.org.uk (Russell King - ARM Linux) Date: Tue, 6 Mar 2012 10:40:15 +0000 Subject: [PATCH 15/20] ASoC: fsl: make fsl_ssi driver compilable on ARM/IMX In-Reply-To: <20120305002635.GA23798@opensource.wolfsonmicro.com> References: <1330788001-10158-1-git-send-email-shawn.guo@linaro.org> <1330788001-10158-16-git-send-email-shawn.guo@linaro.org> <4F53F704.8080703@freescale.com> <20120304232817.GA13516@n2100.arm.linux.org.uk> <4F53FBA1.8090200@freescale.com> <20120305000411.GL7363@n2100.arm.linux.org.uk> <4F54053F.9070502@freescale.com> <20120305002635.GA23798@opensource.wolfsonmicro.com> Message-ID: <20120306104015.GF17370@n2100.arm.linux.org.uk> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Mon, Mar 05, 2012 at 12:26:36AM +0000, Mark Brown wrote: > On Mon, Mar 05, 2012 at 12:13:52AM +0000, Tabi Timur-B04825 wrote: > > > To answer your question: I was lead to believe that the individual ALSA > > callback functions are atomic. So one thread should not be trying to > > start playback while another thread is simultaneously trying to stop it. > > That's correct, there's ALSA level locking. Please explain which lock prevents the capture substream trigger callback occuring simultaneously with a playback substream trigger callback on a SMP system. Thanks.