ASoC: dmaengine_pcm: Reset pointer position when starting a stream
authorMika Westerberg <mika.westerberg@iki.fi>
Mon, 5 Mar 2012 13:02:14 +0000 (14:02 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 12 Mar 2012 19:03:22 +0000 (19:03 +0000)
commit7a08cf7022b3f6863cff004cf0531f3e44a772ea
tree5929090a9e0ae91d4409cb0ec9f01824ac502357
parentc986564b3115ebd24a907515ac0b7ca2bef794f9
ASoC: dmaengine_pcm: Reset pointer position when starting a stream

Otherwise a wrong position will be reported after restarting a stream and the
first few samples might be skipped.

Signed-off-by: Mika Westerberg <mika.westerberg@iki.fi>
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-dmaengine-pcm.c