mirror of https://gitee.com/openkylin/linux.git
ALSA: ASoC: Use snd_soc_dapm_nc_pin() in N810 machine driver
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
35f5e54db9
commit
869fbb36ee
|
@ -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++) {
|
||||
|
|
Loading…
Reference in New Issue