From: Mark Brown Date: Sat, 27 Sep 2008 09:48:31 +0000 (+0100) Subject: ALSA: ASoC: Use snd_soc_dapm_nc_pin() in N810 machine driver X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=869fbb36eeb599eb284548232dce40bb413ed2e9;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git ALSA: ASoC: Use snd_soc_dapm_nc_pin() in N810 machine driver Signed-off-by: Mark Brown Signed-off-by: Takashi Iwai --- diff --git a/sound/soc/omap/n810.c b/sound/soc/omap/n810.c index d166b6b2a60d..fae3ad36e0bf 100644 --- a/sound/soc/omap/n810.c +++ b/sound/soc/omap/n810.c @@ -247,9 +247,9 @@ static int n810_aic33_init(struct snd_soc_codec *codec) int i, err; /* Not connected */ - snd_soc_dapm_disable_pin(codec, "MONO_LOUT"); - snd_soc_dapm_disable_pin(codec, "HPLCOM"); - snd_soc_dapm_disable_pin(codec, "HPRCOM"); + snd_soc_dapm_nc_pin(codec, "MONO_LOUT"); + snd_soc_dapm_nc_pin(codec, "HPLCOM"); + snd_soc_dapm_nc_pin(codec, "HPRCOM"); /* Add N810 specific controls */ for (i = 0; i < ARRAY_SIZE(aic33_n810_controls); i++) {