summaryrefslogtreecommitdiffstats
path: root/sound/soc/omap/omap2evm.c
diff options
context:
space:
mode:
authorMark Brown2008-11-18 23:11:38 +0100
committerMark Brown2008-11-21 15:12:10 +0100
commitdee89c4d94433520e4e3977ae203d4cfbfe385fb (patch)
treebdbe4c54cd9789b02a6d0bf5f75a47b8721e073e /sound/soc/omap/omap2evm.c
parentASoC: Move DAI structure definitions into new soc-dai.h (diff)
downloadkernel-qcow2-linux-dee89c4d94433520e4e3977ae203d4cfbfe385fb.tar.gz
kernel-qcow2-linux-dee89c4d94433520e4e3977ae203d4cfbfe385fb.tar.xz
kernel-qcow2-linux-dee89c4d94433520e4e3977ae203d4cfbfe385fb.zip
ASoC: Merge snd_soc_ops into snd_soc_dai_ops
Liam Girdwood's ASoC v2 work avoids having two different ops structures for DAIs by merging the members of struct snd_soc_ops into struct snd_soc_dai_ops, allowing per DAI configuration for everything. Backport this change. This paves the way for future work allowing any combination of DAIs to be connected rather than having fixed purpose CODEC and CPU DAIs and only allowing CODEC<->CPU interconnections. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/omap/omap2evm.c')
-rw-r--r--sound/soc/omap/omap2evm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/omap/omap2evm.c b/sound/soc/omap/omap2evm.c
index 5bea31157a94..7b160f9d83f9 100644
--- a/sound/soc/omap/omap2evm.c
+++ b/sound/soc/omap/omap2evm.c
@@ -38,7 +38,8 @@
#include "../codecs/twl4030.h"
static int omap2evm_hw_params(struct snd_pcm_substream *substream,
- struct snd_pcm_hw_params *params)
+ struct snd_pcm_hw_params *params,
+ struct snd_soc_dai *dai)
{
struct snd_soc_pcm_runtime *rtd = substream->private_data;
struct snd_soc_dai *codec_dai = rtd->dai->codec_dai;