]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/soc/pxa/spitz.c
ASoC: Fix forgotten replacements of socdev->codec
[linux-2.6-omap-h63xx.git] / sound / soc / pxa / spitz.c
index a3b9e6bdf9794cb1350d34448efeddbee1989591..1aafd8c645a1fdaf292c39c2585ec6405057fa3c 100644 (file)
@@ -109,7 +109,7 @@ static void spitz_ext_control(struct snd_soc_codec *codec)
 static int spitz_startup(struct snd_pcm_substream *substream)
 {
        struct snd_soc_pcm_runtime *rtd = substream->private_data;
-       struct snd_soc_codec *codec = rtd->socdev->codec;
+       struct snd_soc_codec *codec = rtd->socdev->card->codec;
 
        /* check the jack status at stream startup */
        spitz_ext_control(codec);