Skip to content

Commit

Permalink
ALSA: ASoC: Use snd_soc_dapm_nc_pin() in GTA01 audio driver
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Mark Brown authored and Takashi Iwai committed Oct 13, 2008
1 parent 5817b52 commit b1cbc21
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions sound/soc/s3c24xx/neo1973_wm8753.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b1cbc21

Please sign in to comment.