aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Ranostay <mranostay@embeddedalley.com>2009-01-13 13:30:07 -0500
committerTakashi Iwai <tiwai@suse.de>2009-01-14 01:49:35 -0500
commitc15c5060fc32d7de7cde76aa61e98bae1334d82e (patch)
tree22930d95422ea443efe0575a82bd65819ad8c7a9
parent2acc9dcb609427a20463e529ef552dd93b469847 (diff)
ALSA: hda: stac92hd8xxx amp mixers
Added amp nid for stac92hd8xxx families of codecs so the input amp mixer is created. Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--sound/pci/hda/patch_sigmatel.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index 89ff916a0ed1..77fcc312a1f4 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -336,6 +336,10 @@ static unsigned int stac92hd83xxx_pwr_mapping[4] = {
336 0x03, 0x0c, 0x10, 0x40, 336 0x03, 0x0c, 0x10, 0x40,
337}; 337};
338 338
339static unsigned int stac92hd83xxx_amp_nids[1] = {
340 0xc,
341};
342
339static hda_nid_t stac92hd71bxx_pwr_nids[3] = { 343static hda_nid_t stac92hd71bxx_pwr_nids[3] = {
340 0x0a, 0x0d, 0x0f 344 0x0a, 0x0d, 0x0f
341}; 345};
@@ -4747,6 +4751,7 @@ static int patch_stac92hd83xxx(struct hda_codec *codec)
4747 spec->dmux_nids = stac92hd83xxx_dmux_nids; 4751 spec->dmux_nids = stac92hd83xxx_dmux_nids;
4748 spec->adc_nids = stac92hd83xxx_adc_nids; 4752 spec->adc_nids = stac92hd83xxx_adc_nids;
4749 spec->pwr_nids = stac92hd83xxx_pwr_nids; 4753 spec->pwr_nids = stac92hd83xxx_pwr_nids;
4754 spec->amp_nids = stac92hd83xxx_amp_nids;
4750 spec->pwr_mapping = stac92hd83xxx_pwr_mapping; 4755 spec->pwr_mapping = stac92hd83xxx_pwr_mapping;
4751 spec->num_pwrs = ARRAY_SIZE(stac92hd83xxx_pwr_nids); 4756 spec->num_pwrs = ARRAY_SIZE(stac92hd83xxx_pwr_nids);
4752 spec->multiout.dac_nids = spec->dac_nids; 4757 spec->multiout.dac_nids = spec->dac_nids;
@@ -4764,6 +4769,7 @@ static int patch_stac92hd83xxx(struct hda_codec *codec)
4764 spec->num_pins = ARRAY_SIZE(stac92hd83xxx_pin_nids); 4769 spec->num_pins = ARRAY_SIZE(stac92hd83xxx_pin_nids);
4765 spec->num_dmuxes = ARRAY_SIZE(stac92hd83xxx_dmux_nids); 4770 spec->num_dmuxes = ARRAY_SIZE(stac92hd83xxx_dmux_nids);
4766 spec->num_adcs = ARRAY_SIZE(stac92hd83xxx_adc_nids); 4771 spec->num_adcs = ARRAY_SIZE(stac92hd83xxx_adc_nids);
4772 spec->num_amps = ARRAY_SIZE(stac92hd83xxx_amp_nids);
4767 spec->num_dmics = STAC92HD83XXX_NUM_DMICS; 4773 spec->num_dmics = STAC92HD83XXX_NUM_DMICS;
4768 spec->dinput_mux = &stac92hd83xxx_dmux; 4774 spec->dinput_mux = &stac92hd83xxx_dmux;
4769 spec->pin_nids = stac92hd83xxx_pin_nids; 4775 spec->pin_nids = stac92hd83xxx_pin_nids;