linux/sound
Lars-Peter Clausen 93b943edfc ASoC: generic-dmaengine-pcm: Check NO_RESIDUE flag at runtime
Currently we have two different snd_soc_platform_driver structs in the generic
dmaengine PCM driver. One for dmaengine drivers that support residue reporting
and one for those which do not. When registering the PCM component we check
whether the NO_RESIDUE flag is set or not and use the corresponding
snd_soc_platform_driver. This patch modifies the driver to only have one
snd_soc_platform_driver struct where the pointer() callback checks the
NO_RESIDUE flag at runtime. This allows us to set the NO_RESIDUE flag after the
PCM component has been registered. This becomes necessary when querying whether
the dmaengine driver supports residue reporting from the dmaengine driver itself
since the DMA channel might only be requested after the PCM component has been
registered.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
2014-01-14 21:28:39 +00:00
..
aoa sound fixes for 3.13-rc1 2013-11-16 12:50:53 -08:00
arm Merge branch 'for-linus-dma-masks' of git://git.linaro.org/people/rmk/linux-arm 2013-11-14 07:55:21 +09:00
atmel
core sound fixes for 3.13-rc1 2013-11-16 12:50:53 -08:00
drivers ALSA: pcsp: Fix the order of input device unregistration 2013-11-14 15:50:10 +01:00
firewire sound fixes #2 for 3.13-rc1 2013-11-22 10:57:31 -08:00
i2c
isa ALSA: isa: not allocating enough space 2013-11-13 09:28:31 +01:00
mips
oss
parisc
pci ALSA: hda - Set current_headset_type to ALC_HEADSET_TYPE_ENUM (janitorial) 2013-11-22 12:58:01 +01:00
pcmcia
ppc Merge branch 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux 2013-11-18 15:50:07 -08:00
sh
soc ASoC: generic-dmaengine-pcm: Check NO_RESIDUE flag at runtime 2014-01-14 21:28:39 +00:00
sparc ALSA: sparc: fix missing unlock on error in snd_cs4231_playback_prepare() 2013-11-11 16:23:16 +01:00
spi
synth
usb ALSA: usb-audio: add front jack channel selector for EMU0204 2013-11-13 17:05:20 +01:00
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c
sound_firmware.c