]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ASoC: OMAP: Fix Gumstix Overo machine driver by using snd_soc_dai struct (rev 2)
authorJarkko Nikula <jarkko.nikula@nokia.com>
Fri, 12 Sep 2008 20:52:19 +0000 (13:52 -0700)
committerTony Lindgren <tony@atomide.com>
Fri, 12 Sep 2008 23:59:29 +0000 (16:59 -0700)
Structs snd_soc_codec_dai and snd_soc_cpu_dai are obsolete and are merged to
snd_soc_dai by the commit 8687eb8bded8c3c5842a85bd0c30e43fc5a3e0e0.

Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com>
Acked-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
sound/soc/omap/overo.c

index 542ff6b4f2a89f7c538e969796b2a384caebad3b..1a086ced8f1da78df311a9bb50003ddc96ffa407 100644 (file)
@@ -39,8 +39,8 @@ static int overo_hw_params(struct snd_pcm_substream *substream,
        struct snd_pcm_hw_params *params)
 {
        struct snd_soc_pcm_runtime *rtd = substream->private_data;
-       struct snd_soc_codec_dai *codec_dai = rtd->dai->codec_dai;
-       struct snd_soc_cpu_dai *cpu_dai = rtd->dai->cpu_dai;
+       struct snd_soc_dai *codec_dai = rtd->dai->codec_dai;
+       struct snd_soc_dai *cpu_dai = rtd->dai->cpu_dai;
        int ret;
 
        /* Set codec DAI configuration */