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)
commit08ae9b456d393dfd1bbe7619b994189be6a26449
tree39590b477151db6577274947972754074ed9e9e3
parente41975edc73d2c16d0784e5fa87a6162e2fcab80
ASoC: dpcm: Add helper function for initializing runtime pcm

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