]> Pileus Git - ~andy/linux/commit
ASoC: generic-dmaengine-pcm: Set BATCH flag when residue reporting is not supported
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 30 Nov 2013 17:00:45 +0000 (18:00 +0100)
committerMark Brown <broonie@linaro.org>
Mon, 2 Dec 2013 11:24:31 +0000 (11:24 +0000)
commita22f33b00346f26d29483cdacdbf26df7947ef23
treeb46614d33fabb80ca7982929cb3f2a63547a4b7e
parent21585ee848078b12d0d1a513e93936bf96b444a0
ASoC: generic-dmaengine-pcm: Set BATCH flag when residue reporting is not supported

For dmaengine drivers which do not support transfer residue reporting we update
the PCM pointer with period granularity. Set the SNDRV_PCM_INFO_BATCH flag in
this case to let userspace know about this.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/soc-generic-dmaengine-pcm.c