]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ALSA: ASoC: Use snd_soc_dapm_nc_pin() in N810 machine driver
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 27 Sep 2008 09:48:31 +0000 (10:48 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 13 Oct 2008 00:16:41 +0000 (02:16 +0200)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/soc/omap/n810.c

index d166b6b2a60dd9b78ade26cb76532cbe1b3c30a8..fae3ad36e0bfc3e03606561c48c0c54bb7d192b6 100644 (file)
@@ -247,9 +247,9 @@ static int n810_aic33_init(struct snd_soc_codec *codec)
        int i, err;
 
        /* Not connected */
-       snd_soc_dapm_disable_pin(codec, "MONO_LOUT");
-       snd_soc_dapm_disable_pin(codec, "HPLCOM");
-       snd_soc_dapm_disable_pin(codec, "HPRCOM");
+       snd_soc_dapm_nc_pin(codec, "MONO_LOUT");
+       snd_soc_dapm_nc_pin(codec, "HPLCOM");
+       snd_soc_dapm_nc_pin(codec, "HPRCOM");
 
        /* Add N810 specific controls */
        for (i = 0; i < ARRAY_SIZE(aic33_n810_controls); i++) {