Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 50c62f06 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: hda - Don't create analog mixer for IDT92HD71bxx



The analog mixer unit on IDT 92HD71Bxx codecs is almost useless
since we use only the direct connections from DAC to pin.

Remove the controls to avoid unneeded confusion as default now.
This can be still back via "analog_mixer = 1" hint.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 6479c631
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -5376,6 +5376,7 @@ static int patch_stac92hd71bxx(struct hda_codec *codec)

		/* no output amps */
		spec->num_pwrs = 0;
		if (snd_hda_get_bool_hint(codec, "analog_mixer") == 1)
			spec->mixer = stac92hd71bxx_analog_mixer;

		/* disable VSW */
@@ -5403,6 +5404,7 @@ static int patch_stac92hd71bxx(struct hda_codec *codec)
	default:
		memcpy(&spec->private_dimux, &stac92hd71bxx_dmux_amixer,
		       sizeof(stac92hd71bxx_dmux_amixer));
		if (snd_hda_get_bool_hint(codec, "analog_mixer") == 1)
			spec->mixer = stac92hd71bxx_analog_mixer;
		spec->init = stac92hd71bxx_analog_core_init;
		codec->slave_dig_outs = stac92hd71bxx_slave_dig_outs;