diff options
author | Timur Tabi <[email protected]> | 2011-06-08 15:02:56 -0500 |
---|---|---|
committer | Mark Brown <[email protected]> | 2011-06-09 11:53:11 +0100 |
commit | 0cd114fff9ace7014c0d3ef8ab385fc5d3cf2d2f (patch) | |
tree | 60cb1a86cad6a267a1bbf3139776c6771ec1cd50 /lib/cpu-notifier-error-inject.c | |
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 <[email protected]>
Acked-by: Liam Girdwood <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions