From c08e83fa158a4305e4142c570a329906f52718d5 Mon Sep 17 00:00:00 2001 From: Kailang Yang Date: Wed, 18 May 2011 11:53:16 +0200 Subject: [PATCH] --- yaml --- r: 248493 b: refs/heads/master c: b896b4ebf0c136b51b184ea9f39247701e332005 h: refs/heads/master i: 248491: 6603e6c719d512e94a6e2e48e1c7399f6ed3a0e4 v: v3 --- [refs] | 2 +- trunk/sound/pci/hda/patch_realtek.c | 11 +++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 255fd5c9f84e..6547b179c3a2 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 296f03380e986f910b20dfb5ad7743902e7d840e +refs/heads/master: b896b4ebf0c136b51b184ea9f39247701e332005 diff --git a/trunk/sound/pci/hda/patch_realtek.c b/trunk/sound/pci/hda/patch_realtek.c index fc0c04699d55..473342da3065 100644 --- a/trunk/sound/pci/hda/patch_realtek.c +++ b/trunk/sound/pci/hda/patch_realtek.c @@ -15193,14 +15193,21 @@ static int alc269_fill_coef(struct hda_codec *codec) val = alc_read_coef_idx(codec, 0xd); if ((val & 0x0c00) >> 10 != 0x1) { /* Capless ramp up clock control */ - alc_write_coef_idx(codec, 0xd, val | 1<<10); + alc_write_coef_idx(codec, 0xd, val | (1<<10)); } val = alc_read_coef_idx(codec, 0x17); if ((val & 0x01c0) >> 6 != 0x4) { /* Class D power on reset */ - alc_write_coef_idx(codec, 0x17, val | 1<<7); + alc_write_coef_idx(codec, 0x17, val | (1<<7)); } } + + val = alc_read_coef_idx(codec, 0xd); /* Class D */ + alc_write_coef_idx(codec, 0xd, val | (1<<14)); + + val = alc_read_coef_idx(codec, 0x4); /* HP */ + alc_write_coef_idx(codec, 0x4, val | (1<<11)); + return 0; }