ASoC: Use snd_soc_dapm_nc_pin() in at91sam9g20ek
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
2f42357722
commit
8c0bad7fa5
|
@ -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");
|
||||||
|
|
Loading…
Reference in New Issue