Commit b1cbc21c authored by Mark Brown's avatar Mark Brown Committed by Takashi Iwai

ALSA: ASoC: Use snd_soc_dapm_nc_pin() in GTA01 audio driver

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 5817b52a
...@@ -511,13 +511,12 @@ static int neo1973_wm8753_init(struct snd_soc_codec *codec) ...@@ -511,13 +511,12 @@ static int neo1973_wm8753_init(struct snd_soc_codec *codec)
DBG("Entered %s\n", __func__); DBG("Entered %s\n", __func__);
/* set up NC codec pins */ /* set up NC codec pins */
snd_soc_dapm_disable_pin(codec, "LOUT2"); snd_soc_dapm_nc_pin(codec, "LOUT2");
snd_soc_dapm_disable_pin(codec, "ROUT2"); snd_soc_dapm_nc_pin(codec, "ROUT2");
snd_soc_dapm_disable_pin(codec, "OUT3"); snd_soc_dapm_nc_pin(codec, "OUT3");
snd_soc_dapm_disable_pin(codec, "OUT4"); snd_soc_dapm_nc_pin(codec, "OUT4");
snd_soc_dapm_disable_pin(codec, "LINE1"); snd_soc_dapm_nc_pin(codec, "LINE1");
snd_soc_dapm_disable_pin(codec, "LINE2"); snd_soc_dapm_nc_pin(codec, "LINE2");
/* set endpoints to default mode */ /* set endpoints to default mode */
set_scenario_endpoints(codec, NEO_AUDIO_OFF); set_scenario_endpoints(codec, NEO_AUDIO_OFF);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment