ASoC: dmaengine-pcm: Add support for platforms which can't report residue
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 15 Apr 2013 17:19:55 +0000 (19:19 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 17 Apr 2013 13:25:56 +0000 (14:25 +0100)
commit610f780050090db1af024bd060f819478a656cd0
treeb45de808e58ddf8c879aa1aca49d6dc1629475a3
parent11a8576a0a3f153784fc4fca28e6fcee83531135
ASoC: dmaengine-pcm: Add support for platforms which can't report residue

Unfortunately there are still quite a few platforms with a dmaengine driver
which do not support reporting the number of bytes left to transfer. If we want
to support these platforms in the generic dmaengine PCM driver we have.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Tested-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
include/sound/dmaengine_pcm.h
sound/soc/soc-generic-dmaengine-pcm.c