linux/sound/soc/ux500
Lars-Peter Clausen acde50a7bf ASoC: dmaengine_pcm: Make FLAG_NO_RESIDUE internal
Whether residue can be reported or not is not a property of the audio
controller but of the DMA controller. The FLAG_NO_RESIDUE was initially
added when the DMAengine framework had no support for describing the residue
reporting capabilities of the controller. Support for this was added quite a
while ago and recently the DMAengine framework started to complain if a
driver does not describe its capabilities and a lot of patches have been
merged that add support for this where it was missing. So it should be safe
to assume that driver on actively used platforms properly implement the DMA
capabilities API.

This patch makes the FLAG_NO_RESIDUE internal and no longer allows audio
controller drivers to manually set the flag. If a DMA driver against
expectations does not support reporting its capabilities for now the generic
DMAengine PCM driver will now emit a warning and simply assume that residue
reporting is not supported. In the future this might be changed to aborting
with an error.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
2015-04-27 19:26:07 +01:00
..
Kconfig sound updates for v3.10-rc1 2013-05-03 09:10:23 -07:00
Makefile ASoC: Ux500: Add machine-driver 2012-06-17 20:46:12 +01:00
mop500_ab8500.c ASoC: mop500_ab8500: Use card DAPM context to access widgets 2015-04-12 12:43:58 +01:00
mop500_ab8500.h ASoC: Ux500: Add machine-driver 2012-06-17 20:46:12 +01:00
mop500.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
ux500_msp_dai.c ASoC: ux500: drop owner assignment from platform_drivers 2014-10-20 16:22:15 +02:00
ux500_msp_dai.h ASoC: ux500: Move DMA parameters into ux500_msp 2013-06-12 17:01:42 +01:00
ux500_msp_i2s.c ASoC: ux500: Fix sparse non static symbol warning 2014-01-08 12:22:18 +00:00
ux500_msp_i2s.h ARM: ux500: Don't use enums for MSP IDs - for easy DT conversion 2014-01-07 15:36:09 +00:00
ux500_pcm.c ASoC: dmaengine_pcm: Make FLAG_NO_RESIDUE internal 2015-04-27 19:26:07 +01:00
ux500_pcm.h ASoC: ux500_pcm: Use the same snd_pcm_hardware for playback and capture 2013-04-07 19:51:05 +01:00