From patchwork Mon Aug 16 13:59:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeremy Szu X-Patchwork-Id: 1517215 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=Grrga1Bp; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4GpG4Q2PDnz9sRN; Mon, 16 Aug 2021 23:59:34 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1mFd9H-0003yY-Bv; Mon, 16 Aug 2021 13:59:31 +0000 Received: from smtp-relay-canonical-1.internal ([10.131.114.174] helo=smtp-relay-canonical-1.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1mFd99-0003xP-PA for kernel-team@lists.ubuntu.com; Mon, 16 Aug 2021 13:59:23 +0000 Received: from localhost (118-169-37-198.dynamic-ip.hinet.net [118.169.37.198]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-1.canonical.com (Postfix) with ESMTPSA id 1509F3F240 for ; Mon, 16 Aug 2021 13:59:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1629122363; bh=XGW6ll7tPLLH93n0c5jx3yT5KcQl10BgL/a3DzBtc2U=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Grrga1BphUC3zu1X8xHbA8UD942B/5dOPud87TY6dgi6YY6uzflsBeyV+ItyaB5FB IdDN151X9tn3WOG+roxXUsHofDjnT65CLDlqi2IMjy2taQ3da7oRNNjEeLjru8qfhB ciRmZWWQbjeCT5xQWffIarWH0TzTE2z0M905gxtHUr8rkUGQgJrw6sEoRp4dFR0eov DwSfOJ07SE3gOZkFTe5XsWkI5PfeQrgB5g6CI0b84aQUti58oeBFEyTdi5kN6ubLE7 I/JslsNHdyjGiucRgwcgveKV8bR5at8p8PVPrEYbE/jZcasSh+3RwS+G8JUkTW9vz9 n3dtqYoCH2qyg== From: Jeremy Szu To: kernel-team@lists.ubuntu.com Subject: [SRU][U/I/H][PATCH] ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 650 G8 Notebook PC Date: Mon, 16 Aug 2021 21:59:16 +0800 Message-Id: <20210816135916.48575-2-jeremy.szu@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210816135916.48575-1-jeremy.szu@canonical.com> References: <20210816135916.48575-1-jeremy.szu@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/1939473 The HP ProBook 650 G8 Notebook PC is using ALC236 codec which is using 0x02 to control mute LED and 0x01 to control micmute LED. Therefore, add a quirk to make it works. Signed-off-by: Jeremy Szu Cc: Link: https://lore.kernel.org/r/20210810100846.65844-1-jeremy.szu@canonical.com Signed-off-by: Takashi Iwai (cherry picked from commit d07149aba2ef423eae94a9cc2a6365d0cdf6fd51) Signed-off-by: Jeremy Szu Acked-by: Tim Gardner --- 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 caaf0e8aac11..20679acb0291 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -8429,6 +8429,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x103c, 0x87f4, "HP", ALC287_FIXUP_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x87f5, "HP", ALC287_FIXUP_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x87f7, "HP Spectre x360 14", ALC245_FIXUP_HP_X360_AMP), + SND_PCI_QUIRK(0x103c, 0x8805, "HP ProBook 650 G8 Notebook PC", ALC236_FIXUP_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x880d, "HP EliteBook 830 G8 Notebook PC", ALC285_FIXUP_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x8846, "HP EliteBook 850 G8 Notebook PC", ALC285_FIXUP_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x8847, "HP EliteBook x360 830 G8 Notebook PC", ALC285_FIXUP_HP_GPIO_LED),