diff options
-rw-r--r-- | sound/pci/hda/patch_sigmatel.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c index d9b89ba2b653..da7f9f65c047 100644 --- a/sound/pci/hda/patch_sigmatel.c +++ b/sound/pci/hda/patch_sigmatel.c | |||
@@ -5855,6 +5855,8 @@ static unsigned int *stac9872_brd_tbl[STAC_9872_MODELS] = { | |||
5855 | }; | 5855 | }; |
5856 | 5856 | ||
5857 | static struct snd_pci_quirk stac9872_cfg_tbl[] = { | 5857 | static struct snd_pci_quirk stac9872_cfg_tbl[] = { |
5858 | SND_PCI_QUIRK_MASK(0x104d, 0xfff0, 0x81e0, | ||
5859 | "Sony VAIO F/S", STAC_9872_VAIO), | ||
5858 | {} /* terminator */ | 5860 | {} /* terminator */ |
5859 | }; | 5861 | }; |
5860 | 5862 | ||
@@ -5867,6 +5869,8 @@ static int patch_stac9872(struct hda_codec *codec) | |||
5867 | if (spec == NULL) | 5869 | if (spec == NULL) |
5868 | return -ENOMEM; | 5870 | return -ENOMEM; |
5869 | codec->spec = spec; | 5871 | codec->spec = spec; |
5872 | spec->num_pins = ARRAY_SIZE(stac9872_pin_nids); | ||
5873 | spec->pin_nids = stac9872_pin_nids; | ||
5870 | 5874 | ||
5871 | spec->board_config = snd_hda_check_board_config(codec, STAC_9872_MODELS, | 5875 | spec->board_config = snd_hda_check_board_config(codec, STAC_9872_MODELS, |
5872 | stac9872_models, | 5876 | stac9872_models, |
@@ -5878,8 +5882,6 @@ static int patch_stac9872(struct hda_codec *codec) | |||
5878 | stac92xx_set_config_regs(codec, | 5882 | stac92xx_set_config_regs(codec, |
5879 | stac9872_brd_tbl[spec->board_config]); | 5883 | stac9872_brd_tbl[spec->board_config]); |
5880 | 5884 | ||
5881 | spec->num_pins = ARRAY_SIZE(stac9872_pin_nids); | ||
5882 | spec->pin_nids = stac9872_pin_nids; | ||
5883 | spec->multiout.dac_nids = spec->dac_nids; | 5885 | spec->multiout.dac_nids = spec->dac_nids; |
5884 | spec->num_adcs = ARRAY_SIZE(stac9872_adc_nids); | 5886 | spec->num_adcs = ARRAY_SIZE(stac9872_adc_nids); |
5885 | spec->adc_nids = stac9872_adc_nids; | 5887 | spec->adc_nids = stac9872_adc_nids; |