From mboxrd@z Thu Jan 1 00:00:00 1970 From: LW@KARO-electronics.de (=?utf-8?Q?Lothar_Wa=C3=9Fmann?=) Date: Fri, 27 Apr 2012 17:13:28 +0200 Subject: [PATCH 01/11] dma: imx-sdma: make channel0 operations atomic In-Reply-To: <20120427132538.GU28063@b20223-02.ap.freescale.net> References: <1335510185-7906-1-git-send-email-richard.zhao@freescale.com> <1335510185-7906-2-git-send-email-richard.zhao@freescale.com> <20378.25703.527491.719116@ipc1.ka-ro> <20120427132538.GU28063@b20223-02.ap.freescale.net> Message-ID: <20378.47000.131486.237752@ipc1.ka-ro> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi, Richard Zhao writes: > On Fri, Apr 27, 2012 at 11:18:31AM +0200, Lothar Wa?mann wrote: > > Hi, > > > > Richard Zhao writes: > > > device_prep_dma_cyclic may be call in audio trigger function which is > > > atomic context, so we make it atomic too. > > > > > > - change channel0 lock to spinlock. > > > - Use polling to wait for channel0 finish running. > > > > > > Signed-off-by: Lothar Wa?mann > > > > > Actually I didn't sign off the patch that I posted, because I wanted > > to wait for more comments first. > I send it out with slight modifications because the series highly > depend on it. Will you take it over or let me put it in next version? > Both are ok to me. > I think you should keep it as part of your sound patches and I will test your final version on our hardware. Lothar Wa?mann -- ___________________________________________________________ Ka-Ro electronics GmbH | Pascalstra?e 22 | D - 52076 Aachen Phone: +49 2408 1402-0 | Fax: +49 2408 1402-10 Gesch?ftsf?hrer: Matthias Kaussen Handelsregistereintrag: Amtsgericht Aachen, HRB 4996 www.karo-electronics.de | info at karo-electronics.de ___________________________________________________________