Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp417588pxb; Wed, 3 Mar 2021 06:36:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJyz/B8VJoRFAGCTOY6iaHRWW8cD5Ru3w4IRHWUMkyXs7OoeCgAmX8Ac1WUZOkfshu2nH26Z X-Received: by 2002:a17:906:3881:: with SMTP id q1mr26103461ejd.490.1614782206799; Wed, 03 Mar 2021 06:36:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614782206; cv=none; d=google.com; s=arc-20160816; b=VHlPl1OXffKfagPvPPC0fd/U5U3Z55EA08rRHkXG0e7lMtlrzy0dKDkcPMx6JYuEZl aCQjyYmX8qDNd4wNrDVxr4jE03PgJ2NAfrRJBU3nuvfuWbA6SBlpN+qSkhgF/TpTJtmB dwygYkxYvjke+l2d9ONQqeoXgJvUwgMHNF6nUR/iC+L5kCgg071TfxQM4q/IBxM4+V+E CSwNcwZM1NFDbiYeCcXsQi/kz+6Z2GFx1KjXmW3Pbxhj4L8dSspX9g8wDv4FZJ4Kg2Ft u2ozLnFs4v1CjfCJlbS0QKNWTB5W1qajDlXC1Qfjyl8YnQhGM51m/Fk2Q4yroB0ZUXFP 6/nQ== 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=QPSvru2TUfC4EABRuimk/1RredJci94hD8LbZaL5nyc=; b=Lqo9jBBsMOB3mXdaP4bvCm01Vj4oT+3mtAMyyehSDN60OYkVFLH8gzgbP+lVmEKNFM /jEfvmrTrFze7IGxINZcFGeeAMOKfNia5AgJVBZreFAS5vzvI9hEVzF94vaEkBLpL2nQ 1xZYlm3OCk2//UQoP7EXJPD43h9rz6qybPavjjimTfZBAWvIXcqskCH4zNk1wMP1bA6Q ya1C/ONgSTE2sYkbz62weHp7Cf021tSYDLAECntphpW4SB4rfD+znYL0VSveYM9YuFSM Caxj7cGqB2c9wI9F3mCP8x+kYOm6c+7WZbAdlVzC8FU+KMFwE0yg0SqVAHhdSp6f+yV/ GApg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=mgrQT3Sw; 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 mp39si14986450ejc.596.2021.03.03.06.35.46; Wed, 03 Mar 2021 06:36:46 -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=mgrQT3Sw; 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 S244573AbhCAVYN (ORCPT + 99 others); Mon, 1 Mar 2021 16:24:13 -0500 Received: from mail.kernel.org ([198.145.29.99]:47630 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237734AbhCARQD (ORCPT ); Mon, 1 Mar 2021 12:16:03 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 56F0F65041; Mon, 1 Mar 2021 16:45:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1614617160; bh=Q6MKNMoNasPyBgqi9r5mPcPs7EgxvEFvueDoTVIccI0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mgrQT3SwJOStsds9PWXI72Xk5M3p9HwyzTIkqjzTqzry6FWCdf7gmi2gfSz/kpoMA 7wU7rrETvX/II7cNnBzwifgW0DboMD7+vdIJDUpP1TXKp1sqrIOrISJAOkw8GNTGR5 2FNiKrNG9vU2lwcAP4sYOmZT7xJSLOJ94yg9weXA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, PeiSen Hou , Takashi Iwai Subject: [PATCH 4.19 193/247] ALSA: hda/realtek: modify EAPD in the ALC886 Date: Mon, 1 Mar 2021 17:13:33 +0100 Message-Id: <20210301161041.106146086@linuxfoundation.org> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210301161031.684018251@linuxfoundation.org> References: <20210301161031.684018251@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 @@ -1880,6 +1880,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, @@ -2213,6 +2214,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[]) { @@ -2485,6 +2495,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),