diff options
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 6322ab76a392..e72b4eac0c66 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c | |||
@@ -6667,7 +6667,8 @@ static int patch_alc882(struct hda_codec *codec) | |||
6667 | break; | 6667 | break; |
6668 | default: | 6668 | default: |
6669 | /* ALC889A is handled better as ALC888-compatible */ | 6669 | /* ALC889A is handled better as ALC888-compatible */ |
6670 | if (codec->revision_id == 0x100103) { | 6670 | if (codec->revision_id == 0x100101 || |
6671 | codec->revision_id == 0x100103) { | ||
6671 | alc_free(codec); | 6672 | alc_free(codec); |
6672 | return patch_alc883(codec); | 6673 | return patch_alc883(codec); |
6673 | } | 6674 | } |
@@ -16317,6 +16318,8 @@ struct hda_codec_preset snd_hda_preset_realtek[] = { | |||
16317 | { .id = 0x10ec0880, .name = "ALC880", .patch = patch_alc880 }, | 16318 | { .id = 0x10ec0880, .name = "ALC880", .patch = patch_alc880 }, |
16318 | { .id = 0x10ec0882, .name = "ALC882", .patch = patch_alc882 }, | 16319 | { .id = 0x10ec0882, .name = "ALC882", .patch = patch_alc882 }, |
16319 | { .id = 0x10ec0883, .name = "ALC883", .patch = patch_alc883 }, | 16320 | { .id = 0x10ec0883, .name = "ALC883", .patch = patch_alc883 }, |
16321 | { .id = 0x10ec0885, .rev = 0x100101, .name = "ALC889A", | ||
16322 | .patch = patch_alc882 }, /* should be patch_alc883() in future */ | ||
16320 | { .id = 0x10ec0885, .rev = 0x100103, .name = "ALC889A", | 16323 | { .id = 0x10ec0885, .rev = 0x100103, .name = "ALC889A", |
16321 | .patch = patch_alc882 }, /* should be patch_alc883() in future */ | 16324 | .patch = patch_alc882 }, /* should be patch_alc883() in future */ |
16322 | { .id = 0x10ec0885, .name = "ALC885", .patch = patch_alc882 }, | 16325 | { .id = 0x10ec0885, .name = "ALC885", .patch = patch_alc882 }, |