diff options
author | Timur Tabi <timur@freescale.com> | 2011-06-08 15:02:56 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-06-09 11:53:11 +0100 |
commit | 0cd114fff9ace7014c0d3ef8ab385fc5d3cf2d2f (patch) | |
tree | 60cb1a86cad6a267a1bbf3139776c6771ec1cd50 /sound/i2c | |
parent | 3115ae174620eeab4b16f52c8d0a9a35d2717e3c (diff) |
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 <timur@freescale.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/i2c')
0 files changed, 0 insertions, 0 deletions