From: Mark Brown Date: Tue, 6 Jan 2009 09:52:18 +0000 (+0000) Subject: ASoC: Use snd_soc_dapm_nc_pin() in at91sam9g20ek X-Git-Tag: v2.6.29-rc1~227^2^2~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=8c0bad7fa5be47aa8a3d03ff6ee1917fa68b72e3;p=linux-2.6-omap-h63xx.git ASoC: Use snd_soc_dapm_nc_pin() in at91sam9g20ek Signed-off-by: Mark Brown --- diff --git a/sound/soc/atmel/sam9g20_wm8731.c b/sound/soc/atmel/sam9g20_wm8731.c index 1fb59a9d371..6ea04be911d 100644 --- a/sound/soc/atmel/sam9g20_wm8731.c +++ b/sound/soc/atmel/sam9g20_wm8731.c @@ -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");