]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ASoC: Use snd_soc_dapm_nc_pin() in at91sam9g20ek
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 6 Jan 2009 09:52:18 +0000 (09:52 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 6 Jan 2009 09:52:18 +0000 (09:52 +0000)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/atmel/sam9g20_wm8731.c

index 1fb59a9d3719471fb82c530abef85ce37875c4b6..6ea04be911d0646a83436c986144db12ff4943d2 100644 (file)
@@ -221,8 +221,8 @@ static int at91sam9g20ek_wm8731_init(struct snd_soc_codec *codec)
        snd_soc_dapm_add_routes(codec, intercon, ARRAY_SIZE(intercon));
 
        /* not connected */
-       snd_soc_dapm_disable_pin(codec, "RLINEIN");
-       snd_soc_dapm_disable_pin(codec, "LLINEIN");
+       snd_soc_dapm_nc_pin(codec, "RLINEIN");
+       snd_soc_dapm_nc_pin(codec, "LLINEIN");
 
        /* always connected */
        snd_soc_dapm_enable_pin(codec, "Int Mic");