Re: [PATCH 01/11] dma: imx-sdma: make channel0 operations atomic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

linux-arm-kernel mailing list

[Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [PDAs]     [Linux]     [Linux MIPS]     [Yosemite Campsites]     [Photos]

Add to Google Follow linuxarm on Twitter