Skip to contentSkip to conversation

ASoC: mfld_machine: Fix compile error

PATCH Applied Lars-Peter Clausen 2 participants 2 messages Mar 21, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: mfld_machine: Fix compile error

Fixes 115f3f8 ("ASoC: mfld_machine: Convert to table based DAPM and control setup")
---
 sound/soc/intel/mfld_machine.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/intel/mfld_machine.c +1 -1
index 4616942..031d787 100644
@@ -254,7 +254,7 @@ static int mfld_init(struct snd_soc_pcm_runtime *runtime)
 	snd_soc_dapm_disable_pin(dapm, "LINEINR");
 
 	/* Headset and button jack detection */
-	ret_val = snd_soc_jack_new(codec, "Intel(R) MID Audio Jack",
+	ret_val = snd_soc_jack_new(mfld_codec, "Intel(R) MID Audio Jack",
 			SND_JACK_HEADSET | SND_JACK_BTN_0 |
 			SND_JACK_BTN_1, &mfld_jack);
 	if (ret_val) {
Signature · 1 line
1.8.0