commit | bd477c31ca3ae85645fb2852bfa3954a623f9237 | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Tue May 14 11:05:31 2013 +0200 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Tue May 14 16:52:48 2013 +0400 |
tree | f7b57182df7fb56eee47f96e2c652df63cf4bef2 | |
parent | 90996f43b3fa36075e501a52a3e2286896d74e79 [diff] |
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>