diff options
author | Liam Girdwood <lrg@slimlogic.co.uk> | 2010-08-25 16:32:24 +0100 |
---|---|---|
committer | Sebastien Jan <s-jan@ti.com> | 2010-09-28 14:57:39 +0200 |
commit | fd9688de2310c1cc1d9bbbd8498dfb0ff17ece36 (patch) | |
tree | eee0f841625c1d825b90fda628f4177dd3c0be3d /include | |
parent | 172f82656a1f8b6b0014def050a0488feca181b1 (diff) |
ASoC: core - make pcm_new() pass only snd_soc_pcm_runtime *
Reduce number of arguments passed in pcm_new() from three to
one by passing snd_soc_pcm_runtime*. This allows allows DSP
DAI components to better determine buffers, channels etc.
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Margarita Olaya Cabrera <magi.olaya@ti.com>
Diffstat (limited to 'include')
-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 0e5f46edc864..043e533970ac 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h @@ -522,8 +522,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 *); /* |