From mboxrd@z Thu Jan 1 00:00:00 1970 From: Russell King - ARM Linux Subject: Re: [PATCH 01/11] dma: imx-sdma: make channel0 operations atomic Date: Fri, 27 Apr 2012 14:10:10 +0100 Message-ID: <20120427131010.GN24211@n2100.arm.linux.org.uk> References: <1335510185-7906-1-git-send-email-richard.zhao@freescale.com> <1335510185-7906-2-git-send-email-richard.zhao@freescale.com> <1335514900.31825.132.camel@vkoul-udesk3> <20120427084109.GO28063@b20223-02.ap.freescale.net> <1335522130.31825.135.camel@vkoul-udesk3> <20120427112655.GS28063@b20223-02.ap.freescale.net> <20120427113335.GM24211@n2100.arm.linux.org.uk> <4F9A9899.2060306@nvidia.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <4F9A9899.2060306@nvidia.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Laxman Dewangan Cc: Vinod Koul , "kernel@pengutronix.de" , "broonie@opensource.wolfsonmicro.com" , "alsa-devel@alsa-project.org" , "w.sang@pengutronix.de" , Richard Zhao , "linux-i2c@vger.kernel.org" , "ben-linux@fluff.org" , "dan.j.williams@intel.com" , "shawn.guo@linaro.org" , "lrg@ti.com" , "linux-arm-kernel@lists.infradead.org" , Lothar =?iso-8859-1?Q?Wa=DFmann?= List-Id: linux-i2c@vger.kernel.org On Fri, Apr 27, 2012 at 06:31:13PM +0530, Laxman Dewangan wrote: > On Friday 27 April 2012 05:03 PM, Russell King - ARM Linux wrote: >> On Fri, Apr 27, 2012 at 07:26:56PM +0800, Richard Zhao wrote: >>> Sure, I mean, can you doc in include/linux/dmaengine.h that >>> dmaengine_prep_xxx may sleep? >> Incorrect. They may _not_ sleep. > > But I have seen that we are using the kzalloc in the dmaengine_prep_xxx > and kzalloc is sleeping call. Not with GFP_ATOMIC it isn't.