]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ALSA: ASoC: Use snd_soc_dapm_nc_pin() in GTA01 audio driver
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 24 Sep 2008 10:33:05 +0000 (11:33 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 13 Oct 2008 00:15:57 +0000 (02:15 +0200)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/soc/s3c24xx/neo1973_wm8753.c

index 73a50e93a9a222e5296f9a0d5191f9756a275a64..006c36ded25720803ca8d0defd96ff7483f46bf5 100644 (file)
@@ -511,13 +511,12 @@ static int neo1973_wm8753_init(struct snd_soc_codec *codec)
        DBG("Entered %s\n", __func__);
 
        /* set up NC codec pins */
-       snd_soc_dapm_disable_pin(codec, "LOUT2");
-       snd_soc_dapm_disable_pin(codec, "ROUT2");
-       snd_soc_dapm_disable_pin(codec, "OUT3");
-       snd_soc_dapm_disable_pin(codec, "OUT4");
-       snd_soc_dapm_disable_pin(codec, "LINE1");
-       snd_soc_dapm_disable_pin(codec, "LINE2");
-
+       snd_soc_dapm_nc_pin(codec, "LOUT2");
+       snd_soc_dapm_nc_pin(codec, "ROUT2");
+       snd_soc_dapm_nc_pin(codec, "OUT3");
+       snd_soc_dapm_nc_pin(codec, "OUT4");
+       snd_soc_dapm_nc_pin(codec, "LINE1");
+       snd_soc_dapm_nc_pin(codec, "LINE2");
 
        /* set endpoints to default mode */
        set_scenario_endpoints(codec, NEO_AUDIO_OFF);