linux/sound
Kuninori Morimoto 81cb71240e ASoC: rsnd: add rsnd_dma_alloc()
R-Car sound DMA will be used from SSI/SRC.
dma.c doesn't alloc DMA handler in .probe timing, because we don't
know what kind of DMA transfer will be used then.
Thus, SSI/SRC have *rsnd_mod for DMA. rsnd_dma_attach() will allocate
it and attach it to system.
It will be PIO mode if it can't alloc DMA handler.

In case of MIX is used, rsnd_dma_attach() will be called twice from SSI.
To avoid duplicate allocation, current rsnd_dma_attach() is checking
allocated DMA handler. This DMA related operation is a little bit
difficult to understand.
This patch adds new rsnd_dma_alloc() and separates allocation and attach
for readable code.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2017-09-21 17:50:48 +01:00
..
aoa
arm
atmel ALSA: ac97c: Fix an error handling path in 'atmel_ac97c_probe()' 2017-08-31 11:52:29 +01:00
core ALSA: core: Fix unexpected error at replacing user TLV 2017-08-22 15:43:40 +02:00
drivers ALSA: opl4: Move inline before return type 2017-07-06 09:24:17 +02:00
firewire ALSA: firewire-motu: destroy stream data surely at failure of card initialization 2017-08-20 09:40:45 +02:00
hda ALSA: hda: Fix potential race at unregistration and unsol events 2017-06-20 07:53:57 +02:00
i2c
isa sound fixes for 4.13-rc1 2017-07-14 12:44:00 -07:00
mips ALSA: hal2: switch to dma_alloc_attrs 2017-06-16 11:10:05 +02:00
oss
parisc
pci ALSA: hda - Add stereo mic quirk for Lenovo G50-70 (17aa:3978) 2017-08-23 09:30:17 +02:00
pcmcia
ppc
sh
soc ASoC: rsnd: add rsnd_dma_alloc() 2017-09-21 17:50:48 +01:00
sparc
spi
synth ALSA: Fix forgotten dependency fix for tristate OSS sequencer kconfig 2017-06-28 08:45:07 +02:00
usb ALSA: usb-audio: Add delay quirk for H650e/Jabra 550a USB headsets 2017-08-22 11:15:15 +02:00
x86 main drm pull for v4.13 2017-07-09 18:48:37 -07:00
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c