diff options
author | Takashi Iwai <tiwai@suse.de> | 2011-11-07 08:41:01 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-11-08 02:59:35 -0500 |
commit | b42590b865cb4358a0c37b2128e303a18d897bf6 (patch) | |
tree | 6e97f07aae9eed652c154165f4d8d6bee0c909d6 /sound/pci/hda/patch_realtek.c | |
parent | c470150c537b76d9776a5434f6f8448db8188bd3 (diff) |
ALSA: hda/realtek - Convert ALC262 benq and benq-t31 to fixup-lists
The conversion from ALC262 model=benq and model=benq-t31 static configs
to auto-parser requires the manual COEF setups for corresponding models.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_realtek.c')
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index ee267be88a07..55bdb730b3d0 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c | |||
@@ -4344,6 +4344,8 @@ enum { | |||
4344 | ALC262_FIXUP_TYAN, | 4344 | ALC262_FIXUP_TYAN, |
4345 | ALC262_FIXUP_TOSHIBA_RX1, | 4345 | ALC262_FIXUP_TOSHIBA_RX1, |
4346 | ALC262_FIXUP_LENOVO_3000, | 4346 | ALC262_FIXUP_LENOVO_3000, |
4347 | ALC262_FIXUP_BENQ, | ||
4348 | ALC262_FIXUP_BENQ_T31, | ||
4347 | }; | 4349 | }; |
4348 | 4350 | ||
4349 | static const struct alc_fixup alc262_fixups[] = { | 4351 | static const struct alc_fixup alc262_fixups[] = { |
@@ -4384,12 +4386,27 @@ static const struct alc_fixup alc262_fixups[] = { | |||
4384 | .type = ALC_FIXUP_VERBS, | 4386 | .type = ALC_FIXUP_VERBS, |
4385 | .v.verbs = (const struct hda_verb[]) { | 4387 | .v.verbs = (const struct hda_verb[]) { |
4386 | { 0x19, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_VREF50 }, | 4388 | { 0x19, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_VREF50 }, |
4389 | {} | ||
4390 | }, | ||
4391 | .chained = true, | ||
4392 | .chain_id = ALC262_FIXUP_BENQ, | ||
4393 | }, | ||
4394 | [ALC262_FIXUP_BENQ] = { | ||
4395 | .type = ALC_FIXUP_VERBS, | ||
4396 | .v.verbs = (const struct hda_verb[]) { | ||
4387 | { 0x20, AC_VERB_SET_COEF_INDEX, 0x07 }, | 4397 | { 0x20, AC_VERB_SET_COEF_INDEX, 0x07 }, |
4388 | { 0x20, AC_VERB_SET_PROC_COEF, 0x3070 }, | 4398 | { 0x20, AC_VERB_SET_PROC_COEF, 0x3070 }, |
4389 | {} | 4399 | {} |
4390 | } | 4400 | } |
4391 | }, | 4401 | }, |
4392 | 4402 | [ALC262_FIXUP_BENQ_T31] = { | |
4403 | .type = ALC_FIXUP_VERBS, | ||
4404 | .v.verbs = (const struct hda_verb[]) { | ||
4405 | { 0x20, AC_VERB_SET_COEF_INDEX, 0x07 }, | ||
4406 | { 0x20, AC_VERB_SET_PROC_COEF, 0x3050 }, | ||
4407 | {} | ||
4408 | } | ||
4409 | }, | ||
4393 | }; | 4410 | }; |
4394 | 4411 | ||
4395 | static const struct snd_pci_quirk alc262_fixup_tbl[] = { | 4412 | static const struct snd_pci_quirk alc262_fixup_tbl[] = { |
@@ -4399,6 +4416,8 @@ static const struct snd_pci_quirk alc262_fixup_tbl[] = { | |||
4399 | ALC262_FIXUP_TOSHIBA_RX1), | 4416 | ALC262_FIXUP_TOSHIBA_RX1), |
4400 | SND_PCI_QUIRK(0x1734, 0x1147, "FSC Celsius H270", ALC262_FIXUP_FSC_H270), | 4417 | SND_PCI_QUIRK(0x1734, 0x1147, "FSC Celsius H270", ALC262_FIXUP_FSC_H270), |
4401 | SND_PCI_QUIRK(0x17aa, 0x384e, "Lenovo 3000", ALC262_FIXUP_LENOVO_3000), | 4418 | SND_PCI_QUIRK(0x17aa, 0x384e, "Lenovo 3000", ALC262_FIXUP_LENOVO_3000), |
4419 | SND_PCI_QUIRK(0x17ff, 0x0560, "Benq ED8", ALC262_FIXUP_BENQ), | ||
4420 | SND_PCI_QUIRK(0x17ff, 0x058d, "Benq T31-16", ALC262_FIXUP_BENQ_T31), | ||
4402 | {} | 4421 | {} |
4403 | }; | 4422 | }; |
4404 | 4423 | ||