diff --git a/sound/soc/omap/n810.c b/sound/soc/omap/n810.c
index 1490227cd37915a72f3cedee0bd83624ab329a2e..c292bf0fd19ce1184a49466818575f3c9a9604f1 100644
--- a/sound/soc/omap/n810.c
+++ b/sound/soc/omap/n810.c
@@ -191,7 +191,7 @@ static int n810_set_input(struct snd_kcontrol *kcontrol,
 		return 0;
 
 	n810_dmic_func = ucontrol->value.integer.value[0];
-	n810_ext_control(codec);
+	n810_ext_control(&card->dapm);
 
 	return 1;
 }