From: Richard Zhao Date: Fri, 11 May 2012 07:14:27 +0000 (+0800) Subject: dma: imx-sdma: make channel0 operations atomic X-Git-Tag: v3.5-rc1~80^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ccaef0520d18d0072153f090d4110b4075c332c;p=pandora-kernel.git dma: imx-sdma: make channel0 operations atomic 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: Richard Zhao Acked-by: Shawn Guo Signed-off-by: Vinod Koul --- Reading git-diff-tree failed