Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1762862pxj; Wed, 19 May 2021 13:20:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyE4OnVbSOgDdXpL+k9TyzKE8SDmEUbMoLRL9fa4LevjrZGrOOTgNpqT6hUmb40yWfWZvV2 X-Received: by 2002:a17:906:ad9a:: with SMTP id la26mr982245ejb.122.1621455648026; Wed, 19 May 2021 13:20:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621455648; cv=none; d=google.com; s=arc-20160816; b=F/SD20xdUftm7gYkGoRQdK2+Zws2oRMuCFAY9+u8PJgHzuMVzRHpPBVGdJPvi0B/iD ztFDFtycYP4onwX9CMnvKVp64yOlZm45Z2vgkDsSJp9Jw8nQvQI/1fnTWhqWAVyswJvv UIGfkrD1rUvJvjGe7IKBv9HZSBUwNI7UlWU7OOFfcbLr9TLAwHt1iTrYEyY4SjGTaDR6 uvCRm+LsXKPAFtZFnAivZ74BAihAECgAV0mfP60wqf8jVk+YGBAR09zylJU6rQRGhJOW j9bm/MCqQFER661GBjDS6oC5atsb8S8EWmfKEtSd4F6rf59tHMMaf6mM/rzr5GuYhimT Mrww== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=5aN/I/OEKnyU+D1O2wRSSeTB5peFgKe4uhOkD+mbhA0=; b=bHU4tyKdEirz1Y2TBwtytlopn2IIKpLMUYkW6ImvY3qmKfgekZiyqMxGSnULHSgM45 9QdiN4fHcDNa6fImQ7+jdGinwrL9gfwcji5oOI8k/y944EXI6DZY74V6TDd8nqH01/Bj y8w9ngBSROWNxpVzCa//IUJ/igAovooG/QxoGAS2mEng6pzWYMH5yhIUpzp30A/qNQyB wxq4G5BF7cXq/NZrdzUZdNQ401bKeXIOawuX6+c5Vaq1xMPTTu/PKrdA6YY5vPdULBxE mOAy4p71l3Bu2+MI5S1pURqdNXHSDto5sCp18usP1vje9hNDX9lCtWlbDxBPIkrj9P+w hMVw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dn20si668337ejc.549.2021.05.19.13.20.24; Wed, 19 May 2021 13:20:48 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355547AbhESRGS (ORCPT + 99 others); Wed, 19 May 2021 13:06:18 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:37100 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355533AbhESRGP (ORCPT ); Wed, 19 May 2021 13:06:15 -0400 Received: from 61-220-137-34.hinet-ip.hinet.net ([61.220.137.34] helo=localhost) by youngberry.canonical.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1ljPcj-0004Ki-Jr; Wed, 19 May 2021 17:04:46 +0000 From: Jeremy Szu To: tiwai@suse.com Cc: Jeremy Szu , Jaroslav Kysela , Kailang Yang , Jian-Hong Pan , Hui Wang , Chris Chiu , Huacai Chen , PeiSen Hou , alsa-devel@alsa-project.org (moderated list:SOUND), linux-kernel@vger.kernel.org (open list) Subject: [PATCH 4/4] ALSA: hda/realtek: fix mute/micmute LEDs and speaker for HP Zbook Fury 17 G8 Date: Thu, 20 May 2021 01:03:56 +0800 Message-Id: <20210519170357.58410-4-jeremy.szu@canonical.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210519170357.58410-1-jeremy.szu@canonical.com> References: <20210519170357.58410-1-jeremy.szu@canonical.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The HP ZBook Studio 17.3 Inch G8 is using ALC285 codec which is using 0x04 to control mute LED and 0x01 to control micmute LED. In the other hand, there is no output from right channel of speaker. Therefore, add a quirk to make it works. Signed-off-by: Jeremy Szu --- sound/pci/hda/patch_realtek.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 58686d7d5576..4011ce090355 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -8291,6 +8291,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x103c, 0x87f7, "HP Spectre x360 14", ALC245_FIXUP_HP_X360_AMP), SND_PCI_QUIRK(0x103c, 0x8846, "HP EliteBook 850 G8 Notebook PC", ALC285_FIXUP_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x884c, "HP EliteBook 840 G8 Notebook PC", ALC285_FIXUP_HP_GPIO_LED), + SND_PCI_QUIRK(0x103c, 0x886d, "HP ZBook Fury 17.3 Inch G8 Mobile Workstation PC", ALC285_FIXUP_HP_GPIO_AMP_INIT), SND_PCI_QUIRK(0x103c, 0x8870, "HP ZBook Fury 15.6 Inch G8 Mobile Workstation PC", ALC285_FIXUP_HP_GPIO_AMP_INIT), SND_PCI_QUIRK(0x103c, 0x8873, "HP ZBook Studio 15.6 Inch G8 Mobile Workstation PC", ALC285_FIXUP_HP_GPIO_AMP_INIT), SND_PCI_QUIRK(0x103c, 0x8896, "HP EliteBook 855 G8 Notebook PC", ALC285_FIXUP_HP_MUTE_LED), -- 2.31.1