]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - sound/soc/samsung/goni_wm8994.c
ASoC: SAMSUNG: Debug wrong parameter
[karo-tx-linux.git] / sound / soc / samsung / goni_wm8994.c
index cc8528c0a49aa3a773809cef8b9c9a20c76a1218..34dd9ef1b9c0f1130bb4f4e7716bf7cc68c08a51 100644 (file)
@@ -131,7 +131,7 @@ static int goni_wm8994_init(struct snd_soc_pcm_runtime *rtd)
        snd_soc_dapm_sync(dapm);
 
        /* Headset jack detection */
-       ret = snd_soc_jack_new(&goni, "Headset Jack",
+       ret = snd_soc_jack_new(codec, "Headset Jack",
                        SND_JACK_HEADSET | SND_JACK_MECHANICAL | SND_JACK_AVOUT,
                        &jack);
        if (ret)