diff options
author | Kailang Yang <kailang@realtek.com> | 2017-11-08 15:28:33 +0800 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-11-15 18:00:19 +0100 |
commit | 3aabf94c2d95fe465d5fa8590113d1c1f7d8333d (patch) | |
tree | 7b740843e061799aba0cd52dbdd6986b8929b421 /sound | |
parent | f38736c3c681985d9eddf2d8d19148df089cbd8e (diff) | |
download | linux-3aabf94c2d95fe465d5fa8590113d1c1f7d8333d.tar.gz linux-3aabf94c2d95fe465d5fa8590113d1c1f7d8333d.tar.bz2 linux-3aabf94c2d95fe465d5fa8590113d1c1f7d8333d.zip |
ALSA: hda/realtek - Fix ALC275 no sound issue
Sound works after a cold boot but not after a reboot from windows.
This patch will solve this issue. This is relation with Class-D power control.
[ The bug was reported in Bugzilla below for Sony VAIO SVS13A1C5E
-- tiwai]
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=197737
Cc: <stable@vger.kernel.org>
Signed-off-by: Kailang Yang <kailang@realtek.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index db1a376e27c0..1797110cb096 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -341,6 +341,9 @@ static void alc_fill_eapd_coef(struct hda_codec *codec) case 0x10ec0299: alc_update_coef_idx(codec, 0x10, 1<<9, 0); break; + case 0x10ec0275: + alc_update_coef_idx(codec, 0xe, 0, 1<<0); + break; case 0x10ec0293: alc_update_coef_idx(codec, 0xa, 1<<13, 0); break; |