Skip to content

Commit

Permalink
ALSA: hda - Don't create analog mixer for IDT92HD71bxx
Browse files Browse the repository at this point in the history
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: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Takashi Iwai committed Jul 28, 2009
1 parent 6479c63 commit 50c62f0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions sound/pci/hda/patch_sigmatel.c
Original file line number Diff line number Diff line change
Expand Up @@ -5376,7 +5376,8 @@ static int patch_stac92hd71bxx(struct hda_codec *codec)

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

/* disable VSW */
spec->init = &stac92hd71bxx_analog_core_init[HD_DISABLE_PORTF];
Expand All @@ -5403,7 +5404,8 @@ static int patch_stac92hd71bxx(struct hda_codec *codec)
default:
memcpy(&spec->private_dimux, &stac92hd71bxx_dmux_amixer,
sizeof(stac92hd71bxx_dmux_amixer));
spec->mixer = stac92hd71bxx_analog_mixer;
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;
spec->num_dmics = stac92hd71bxx_connected_ports(codec,
Expand Down

0 comments on commit 50c62f0

Please sign in to comment.