ASoC: dpcm: Add helper function for initializing runtime pcm
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 6 Jan 2014 13:19:06 +0000 (14:19 +0100)
committerMark Brown <broonie@linaro.org>
Mon, 6 Jan 2014 17:36:48 +0000 (17:36 +0000)
We have the same code for initializing the runtime pcm on both the playback and
the capture path. Factor this out into a common helper function.

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

Simple merge