mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-29 23:53:32 +00:00
ALSA: hda - Add a pin-fix for FSC Amilo Pi1505
FSC Amilo Pi 1505 has a buggy BIOS and doesn't set up the HP and speaker pins properly. Add the pinfix entry for that. Reference: Novell bnc#557403 https://bugzilla.novell.com/show_bug.cgi?id=557403 Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
854206b074
commit
cfc9b06f0b
1 changed files with 23 additions and 0 deletions
|
@ -14543,6 +14543,27 @@ static struct alc_config_preset alc861_presets[] = {
|
|||
},
|
||||
};
|
||||
|
||||
/* Pin config fixes */
|
||||
enum {
|
||||
PINFIX_FSC_AMILO_PI1505,
|
||||
};
|
||||
|
||||
static struct alc_pincfg alc861_fsc_amilo_pi1505_pinfix[] = {
|
||||
{ 0x0b, 0x0221101f }, /* HP */
|
||||
{ 0x0f, 0x90170310 }, /* speaker */
|
||||
{ }
|
||||
};
|
||||
|
||||
static const struct alc_fixup alc861_fixups[] = {
|
||||
[PINFIX_FSC_AMILO_PI1505] = {
|
||||
.pins = alc861_fsc_amilo_pi1505_pinfix
|
||||
},
|
||||
};
|
||||
|
||||
static struct snd_pci_quirk alc861_fixup_tbl[] = {
|
||||
SND_PCI_QUIRK(0x1734, 0x10c7, "FSC Amilo Pi1505", PINFIX_FSC_AMILO_PI1505),
|
||||
{}
|
||||
};
|
||||
|
||||
static int patch_alc861(struct hda_codec *codec)
|
||||
{
|
||||
|
@ -14566,6 +14587,8 @@ static int patch_alc861(struct hda_codec *codec)
|
|||
board_config = ALC861_AUTO;
|
||||
}
|
||||
|
||||
alc_pick_fixup(codec, alc861_fixup_tbl, alc861_fixups);
|
||||
|
||||
if (board_config == ALC861_AUTO) {
|
||||
/* automatic parse from the BIOS config */
|
||||
err = alc861_parse_auto_config(codec);
|
||||
|
|
Loading…
Reference in a new issue