aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-07-28 12:25:29 -0400
committerTakashi Iwai <tiwai@suse.de>2009-07-28 12:28:27 -0400
commit50c62f068ee67b5a0178855f502f4ea2ee931eed (patch)
treefb201409fd996aa5a12aa60f16c8e2e9d51adb92 /sound/pci
parent6479c63188290beae83ade3243b9d6eb47d394b6 (diff)
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: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r--sound/pci/hda/patch_sigmatel.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index be6cf2cfb192..66b1f3cfc871 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -5376,7 +5376,8 @@ again:
5376 5376
5377 /* no output amps */ 5377 /* no output amps */
5378 spec->num_pwrs = 0; 5378 spec->num_pwrs = 0;
5379 spec->mixer = stac92hd71bxx_analog_mixer; 5379 if (snd_hda_get_bool_hint(codec, "analog_mixer") == 1)
5380 spec->mixer = stac92hd71bxx_analog_mixer;
5380 5381
5381 /* disable VSW */ 5382 /* disable VSW */
5382 spec->init = &stac92hd71bxx_analog_core_init[HD_DISABLE_PORTF]; 5383 spec->init = &stac92hd71bxx_analog_core_init[HD_DISABLE_PORTF];
@@ -5403,7 +5404,8 @@ again:
5403 default: 5404 default:
5404 memcpy(&spec->private_dimux, &stac92hd71bxx_dmux_amixer, 5405 memcpy(&spec->private_dimux, &stac92hd71bxx_dmux_amixer,
5405 sizeof(stac92hd71bxx_dmux_amixer)); 5406 sizeof(stac92hd71bxx_dmux_amixer));
5406 spec->mixer = stac92hd71bxx_analog_mixer; 5407 if (snd_hda_get_bool_hint(codec, "analog_mixer") == 1)
5408 spec->mixer = stac92hd71bxx_analog_mixer;
5407 spec->init = stac92hd71bxx_analog_core_init; 5409 spec->init = stac92hd71bxx_analog_core_init;
5408 codec->slave_dig_outs = stac92hd71bxx_slave_dig_outs; 5410 codec->slave_dig_outs = stac92hd71bxx_slave_dig_outs;
5409 spec->num_dmics = stac92hd71bxx_connected_ports(codec, 5411 spec->num_dmics = stac92hd71bxx_connected_ports(codec,