]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
ALSA: hda/realtek - Fix ALC275 no sound issue
authorKailang Yang <kailang@realtek.com>
Wed, 8 Nov 2017 07:28:33 +0000 (15:28 +0800)
committerTakashi Iwai <tiwai@suse.de>
Wed, 15 Nov 2017 17:00:19 +0000 (18:00 +0100)
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>
sound/pci/hda/patch_realtek.c

index db1a376e27c016d1f36fff94dd695895a643afa5..1797110cb096f3db2e68c53e620498f6bcf709c7 100644 (file)
@@ -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;