Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 170363
b: refs/heads/master
c: cfc9b06
h: refs/heads/master
i:
  170361: 41e4797
  170359: 0d472d1
v: v3
  • Loading branch information
Takashi Iwai committed Dec 1, 2009
1 parent c930950 commit c1149a4
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 854206b074581957e7b5c955001c329f94986b4c
refs/heads/master: cfc9b06f0befe50ef02253f72b76946363549031
23 changes: 23 additions & 0 deletions trunk/sound/pci/hda/patch_realtek.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand All @@ -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);
Expand Down

0 comments on commit c1149a4

Please sign in to comment.