diff options
author | Liam Girdwood <lrg@ti.com> | 2011-02-04 22:12:30 +0000 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2011-06-14 09:06:11 -0700 |
commit | 110e2f989d912b5d0f40fbef1de97f1dc99dc1ab (patch) | |
tree | 55760bb453f6c3c45dd23df2ce41b069406718bc /include/sound | |
parent | 6f3f95ae6a0919dc4d119398f78a905799bab6fc (diff) | |
download | kernel_samsung_espresso10-110e2f989d912b5d0f40fbef1de97f1dc99dc1ab.zip kernel_samsung_espresso10-110e2f989d912b5d0f40fbef1de97f1dc99dc1ab.tar.gz kernel_samsung_espresso10-110e2f989d912b5d0f40fbef1de97f1dc99dc1ab.tar.bz2 |
ASoC: core - refactor pcm_new() to pass only rtd
In preparation for ASoC DSP support.
Currently pcm_new() passes in card, pcm and DAI. Refactor this to only pass
in rtd since rtd contains card, pcm and DAI. Struct rtd also contain other
members too that are useful to DSPs.
Signed-off-by: Liam Girdwood <lrg@ti.com>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/soc.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h index a2139d4..66189b0 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h @@ -628,8 +628,7 @@ struct snd_soc_platform_driver { int (*resume)(struct snd_soc_dai *dai); /* pcm creation and destruction */ - int (*pcm_new)(struct snd_card *, struct snd_soc_dai *, - struct snd_pcm *); + int (*pcm_new)(struct snd_soc_pcm_runtime *); void (*pcm_free)(struct snd_pcm *); /* |