Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp871610pxb; Wed, 3 Mar 2021 19:10:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJw+hJuQreOJ3p1x7zGtijViIFMAut2ZnrodEg1pmdMYzUL0JFJGcVNiYwh9L36jX31evH1h X-Received: by 2002:a05:6402:1342:: with SMTP id y2mr2104925edw.285.1614827448592; Wed, 03 Mar 2021 19:10:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614827448; cv=none; d=google.com; s=arc-20160816; b=TffLdvCxbrPj8T3uJyPVKliZ5/tSPuFd4o1VWyLjp+9F55Ju1lw3JA7KGDCF58eetb 8oW05h9uS8SsBXYKlPF4ZU80mGbKh/RYiYBFEuPc/NS8bIdWGbItxcppwdFy067Ur+Bh ZZzUxyUnxthVLuIDXCSr0FPh/8iLqKIpo86E3LDh9HbtSzobcL5bMcGb7ms8wWxNh39S rwAO/andWpfTMEP4YARpWsdp0BLwZjtZMFSdpe6TgfHyUnZ2Q3ewyjUTI3UGlZmD4+/P eHjZBvjvyfZMAsxf0DdExh17rranYthMdzmm+EP1B8gbfeYa5GFdwSdmWfLhDvl4yb0u N5/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=oaWsCWEhHPaiTi1o9NY/znXlrQROGWKnUCUGZ4gWmVk=; b=Sgd/jt6SkPk5pMRtHF+EqVJVQBeROxnlQdenjjSWC/BkPY0BM12alwhA6KWzqVw6j+ JyPmJIQD02kuEkflyOeYIakidiOJAiYhmp9V3rwWLmy8wVXwuK2RvZp6u+Dpgv5rzxN7 2Ul2vIJGd1nuQDWr1wSn/1IHDouGR6cyt06IQj/9uqvRocL8qh/2RV1RWomHDv7MPyF3 /n4WIgOB3XQwHItuqA7T1vvQlxzfs+K0Rf/raWXbZMpC9aNTq4s4Ud7QKafyImRxOxIa PmBKustTMh40Ncpa0AOqXjCuPn4MeyK6nIbb4FojnVRrPlYvAp0eVYfMuvepo2xw2bPk 6vRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=hrS4UhH1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p9si17077810edm.322.2021.03.03.19.09.49; Wed, 03 Mar 2021 19:10:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=hrS4UhH1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348826AbhCBBZq (ORCPT + 99 others); Mon, 1 Mar 2021 20:25:46 -0500 Received: from mail.kernel.org ([198.145.29.99]:39788 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240861AbhCATKz (ORCPT ); Mon, 1 Mar 2021 14:10:55 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5B5336523C; Mon, 1 Mar 2021 17:26:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1614619570; bh=3OCZHpCE0RGBPpGQbRCSuKdps0Gwoc/FedcVj0rIlrY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hrS4UhH1zCfbnKPYSVegkaVSWX03dERLx+inpoNPxT0VjwgPwm+DTehTdCJ7xeAD7 bGosiF8msDNckLRd6Mpmn8rIf1VAPhzH8OFg07LHsVikSRbMMrA6RZMrbqsdbcggw6 Pt0FzueHMD5FSwTZAvUl5548TwBtjZYFRjRxQkbA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, PeiSen Hou , Takashi Iwai Subject: [PATCH 5.10 503/663] ALSA: hda/realtek: modify EAPD in the ALC886 Date: Mon, 1 Mar 2021 17:12:31 +0100 Message-Id: <20210301161206.731146915@linuxfoundation.org> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210301161141.760350206@linuxfoundation.org> References: <20210301161141.760350206@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: PeiSen Hou commit 4841b8e6318a7f0ae57c4e5ec09032ea057c97a8 upstream. Modify 0x20 index 7 bit 5 to 1, make the 0x15 EAPD the same as 0x14. Signed-off-by: PeiSen Hou Cc: Link: https://lore.kernel.org/r/e62c5058957f48d8b8953e97135ff108@realtek.com Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- sound/pci/hda/patch_realtek.c | 11 +++++++++++ 1 file changed, 11 insertions(+) --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -1905,6 +1905,7 @@ enum { ALC889_FIXUP_FRONT_HP_NO_PRESENCE, ALC889_FIXUP_VAIO_TT, ALC888_FIXUP_EEE1601, + ALC886_FIXUP_EAPD, ALC882_FIXUP_EAPD, ALC883_FIXUP_EAPD, ALC883_FIXUP_ACER_EAPD, @@ -2238,6 +2239,15 @@ static const struct hda_fixup alc882_fix { } } }, + [ALC886_FIXUP_EAPD] = { + .type = HDA_FIXUP_VERBS, + .v.verbs = (const struct hda_verb[]) { + /* change to EAPD mode */ + { 0x20, AC_VERB_SET_COEF_INDEX, 0x07 }, + { 0x20, AC_VERB_SET_PROC_COEF, 0x0068 }, + { } + } + }, [ALC882_FIXUP_EAPD] = { .type = HDA_FIXUP_VERBS, .v.verbs = (const struct hda_verb[]) { @@ -2510,6 +2520,7 @@ static const struct snd_pci_quirk alc882 SND_PCI_QUIRK(0x106b, 0x4a00, "Macbook 5,2", ALC889_FIXUP_MBA11_VREF), SND_PCI_QUIRK(0x1071, 0x8258, "Evesham Voyaeger", ALC882_FIXUP_EAPD), + SND_PCI_QUIRK(0x13fe, 0x1009, "Advantech MIT-W101", ALC886_FIXUP_EAPD), SND_PCI_QUIRK(0x1458, 0xa002, "Gigabyte EP45-DS3/Z87X-UD3H", ALC889_FIXUP_FRONT_HP_NO_PRESENCE), SND_PCI_QUIRK(0x1458, 0xa0b8, "Gigabyte AZ370-Gaming", ALC1220_FIXUP_GB_DUAL_CODECS), SND_PCI_QUIRK(0x1458, 0xa0cd, "Gigabyte X570 Aorus Master", ALC1220_FIXUP_CLEVO_P950),