ASoC: davinci-pcm: extract period elapsed functions
authorBen Gardiner <bengardiner@nanometrics.ca>
Tue, 24 May 2011 18:50:19 +0000 (14:50 -0400)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 25 May 2011 11:14:31 +0000 (19:14 +0800)
commit10ab3bfda41ea21419f6a8d1e5a645521fea4b32
treef0a78be7d76d37ac480ede84038d79f615370d2b
parentef39eb6f212996ede8da47ef45e6dffff1121ec7
ASoC: davinci-pcm: extract period elapsed functions

Extract functions that modify the prtd->period member in preparation for
conversion to BATCH mode playback.

Signed-off-by: Ben Gardiner <bengardiner@nanometrics.ca>
Reviewed-by: Steven Faludi <stevenfaludi@nanometrics.ca>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/davinci/davinci-pcm.c