[[PATCH] 1/3] dma: imx-dma: fix slow path issue in prep_dma_cyclic

2013-09-17 Thread Michael Grzeschik
When perparing cyclic_dma buffers by the sound layer, it will dump the following lockdep trace. The leading snd_pcm_action_single get called with read_lock_irq called. To fix this, we change the kcalloc call from GFP_KERNEL to GFP_ATOMIC. jARNING: at kernel/lockdep.c:2740

[[PATCH] 1/3] dma: imx-dma: fix slow path issue in prep_dma_cyclic

2013-09-17 Thread Michael Grzeschik
When perparing cyclic_dma buffers by the sound layer, it will dump the following lockdep trace. The leading snd_pcm_action_single get called with read_lock_irq called. To fix this, we change the kcalloc call from GFP_KERNEL to GFP_ATOMIC. jARNING: at kernel/lockdep.c:2740