https://github.com/torvalds/linux
Revision 0cd114fff9ace7014c0d3ef8ab385fc5d3cf2d2f authored by Timur Tabi on 08 June 2011, 20:02:56 UTC, committed by Mark Brown on 09 June 2011, 10:53:11 UTC
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>
1 parent 3115ae1
History
Tip revision: 0cd114fff9ace7014c0d3ef8ab385fc5d3cf2d2f authored by Timur Tabi on 08 June 2011, 20:02:56 UTC
ASoC: fsl: fix initialization of DMA buffers
Tip revision: 0cd114f
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 966 bytes
.mailmap -rw-r--r-- 4.2 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.9 KB
Kbuild -rw-r--r-- 2.4 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 189.8 KB
Makefile -rw-r--r-- 52.6 KB
README -rw-r--r-- 17.1 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top