From: Timur Tabi Date: Wed, 8 Jun 2011 20:02:56 +0000 (-0500) Subject: ASoC: fsl: fix initialization of DMA buffers X-Git-Tag: v3.0-rc3~10^2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0cd114fff9ace7014c0d3ef8ab385fc5d3cf2d2f;p=pandora-kernel.git ASoC: fsl: fix initialization of DMA buffers The DMA (PCM) driver used by some Freescale PowerPC supports separate DAIs for playback and capture, so DMA buffers should be allocated only for the initialized streams. Instead of checking for the number of active channels, which apparently is not reliable, check to see if the actual stream object exists. Also provide a better name for the DMA interrupt. Signed-off-by: Timur Tabi Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- Reading git-diff-tree failed