From: Lars-Peter Clausen Date: Tue, 14 May 2013 09:05:31 +0000 (+0200) Subject: ASoC: core: Add helper function to initialize the runtime pcm X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~15^2~3^2~24^2~27^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd477c31ca3ae85645fb2852bfa3954a623f9237;p=pandora-kernel.git 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 Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- Reading git-diff-tree failed