Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 248491
b: refs/heads/master
c: b478b99
h: refs/heads/master
i:
  248489: 763c45e
  248487: 173d598
v: v3
  • Loading branch information
Kailang Yang authored and Takashi Iwai committed May 18, 2011
1 parent 4b8078e commit 6603e6c
Show file tree
Hide file tree
Showing 2 changed files with 11 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: 20c304ed84e05a91b2acae36d428d621d3c1d1c6
refs/heads/master: b478b998447d3eb95e03beab1ad132e3e6bc74d2
10 changes: 10 additions & 0 deletions trunk/sound/pci/hda/patch_realtek.c
Original file line number Diff line number Diff line change
Expand Up @@ -19610,6 +19610,15 @@ static int patch_alc888(struct hda_codec *codec)
return patch_alc882(codec);
}

static int patch_alc899(struct hda_codec *codec)
{
if ((alc_read_coef_idx(codec, 0) & 0x2000) != 0x2000) {
kfree(codec->chip_name);
codec->chip_name = kstrdup("ALC898", GFP_KERNEL);
}
return patch_alc882(codec);
}

/*
* ALC680 support
*/
Expand Down Expand Up @@ -20097,6 +20106,7 @@ static const struct hda_codec_preset snd_hda_preset_realtek[] = {
{ .id = 0x10ec0888, .name = "ALC888", .patch = patch_alc888 },
{ .id = 0x10ec0889, .name = "ALC889", .patch = patch_alc882 },
{ .id = 0x10ec0892, .name = "ALC892", .patch = patch_alc662 },
{ .id = 0x10ec0899, .name = "ALC899", .patch = patch_alc899 },
{} /* terminator */
};

Expand Down

0 comments on commit 6603e6c

Please sign in to comment.