]> git.karo-electronics.de Git - linux-beck.git/commit
ASoC: core: Add helper function to initialize the runtime pcm
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 14 May 2013 09:05:31 +0000 (11:05 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 14 May 2013 12:52:48 +0000 (16:52 +0400)
commitbd477c31ca3ae85645fb2852bfa3954a623f9237
treef7b57182df7fb56eee47f96e2c652df63cf4bef2
parent90996f43b3fa36075e501a52a3e2286896d74e79
ASoC: core: Add helper function to initialize the runtime pcm

We use the same code to initialize the runtime pcm based on the
snd_soc_pcm_stream struct on both the playback and capture path. Factor this
code into a helper function to make things a bit more tidy.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-pcm.c