Commit 8c0bad7f authored by Mark Brown's avatar Mark Brown

ASoC: Use snd_soc_dapm_nc_pin() in at91sam9g20ek

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 2f423577
...@@ -221,8 +221,8 @@ static int at91sam9g20ek_wm8731_init(struct snd_soc_codec *codec) ...@@ -221,8 +221,8 @@ static int at91sam9g20ek_wm8731_init(struct snd_soc_codec *codec)
snd_soc_dapm_add_routes(codec, intercon, ARRAY_SIZE(intercon)); snd_soc_dapm_add_routes(codec, intercon, ARRAY_SIZE(intercon));
/* not connected */ /* not connected */
snd_soc_dapm_disable_pin(codec, "RLINEIN"); snd_soc_dapm_nc_pin(codec, "RLINEIN");
snd_soc_dapm_disable_pin(codec, "LLINEIN"); snd_soc_dapm_nc_pin(codec, "LLINEIN");
/* always connected */ /* always connected */
snd_soc_dapm_enable_pin(codec, "Int Mic"); snd_soc_dapm_enable_pin(codec, "Int Mic");
......
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