Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp3904388pxp; Tue, 15 Mar 2022 08:31:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJykkQRWwyB3TSpyvRYIsowUnDNd/a0zVQE0m8wxb4RMXpQAsjOnK9rpC0z1jp4Jj/ULNlaC X-Received: by 2002:a17:906:2a50:b0:6da:ed06:b029 with SMTP id k16-20020a1709062a5000b006daed06b029mr22839753eje.506.1647358269015; Tue, 15 Mar 2022 08:31:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647358269; cv=none; d=google.com; s=arc-20160816; b=gtiLiug/pJ4CHoI8OlYZyBgMJb9S9dM8SQLQkbEfnfVwSS4YMVcSgiIm6SkOI8glJZ FInMWeYm2haNwJbKPuALw5cbXZcuhKow/UzrjW71U7CONERKb+B7sDJ2cHbuFpjnGokL xIacZW1SMC6S0nuvgGMnvbxi7VtOLoFbD8z+DrKpItUNHAemtQbjgh8Q5QocIYu+aJb9 vhrFUKgFJhhlbWWwy1SH3BlTr2MkBAFvXMfvii6yXAUmuuGoVuUFhUG9lkfq0irYAZ+7 rKa/PPwv/S+PBI/wucHoSH4KpoqDDlvSd0W3+B8dit3LwjnoV+m9bsm4TrUvWi9vuSx5 uRgQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=dYP9n+9ZiLQtINhhSZR+LCQtgVyYHHqH/JL5P9eptWA=; b=U+Lev0MWEUaMWsPCz7O44co6Na5stjgBbaTGVvRoUr5VdaA1Aci+wvfmS4rc3Cboou /NMedR4Ft3230SALcw1B0kNbCVWatPFeBNpSdmU9vooDYOyp+QlqN4Y6K6iNueL+Cnzz YIrKL45MF8agPl8auyYBQH/xyskgdcSX9FyOcN+Pmp1I7kuxhhOqdK1X6hJyl7E2YlaE a6m536sjXCehVNZ5b4iY/9G47NNMhzH1ZSouBPA0/j/H540/Zi34USKv8L1FjF+7ReII mqoRdcL6MoW7jggB9CPp5XiYnlxkLSg9MoS20sGJAPW14BAsBn5ydLZSOjFL9seqwsb7 Mu2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=m6AFUwQG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x25-20020a170906b09900b006d0e259d306si11023170ejy.913.2022.03.15.08.30.44; Tue, 15 Mar 2022 08:31:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=m6AFUwQG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232711AbiCNObP (ORCPT + 99 others); Mon, 14 Mar 2022 10:31:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231239AbiCNObO (ORCPT ); Mon, 14 Mar 2022 10:31:14 -0400 X-Greylist: delayed 403 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 14 Mar 2022 07:30:03 PDT Received: from smtp-relay-canonical-0.canonical.com (smtp-relay-canonical-0.canonical.com [185.125.188.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7081F2C66A for ; Mon, 14 Mar 2022 07:30:03 -0700 (PDT) Received: from localhost.localdomain (unknown [10.101.197.31]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-0.canonical.com (Postfix) with ESMTPSA id 573663F7E1; Mon, 14 Mar 2022 14:23:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1647267791; bh=dYP9n+9ZiLQtINhhSZR+LCQtgVyYHHqH/JL5P9eptWA=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=m6AFUwQGWaBaGC+cdpSpajath+yktgZlTUEC9UMrSq26IIRj5EOcgVwC47Cyx9pGv 7IySM5xswIv8Hy1OfIqpGOO4ZviewW9315zLKX9yKG6NR023rwUfNyfQNDeDxuj9hC J8V7s0rqYfUt8ITwdCVb2eoWyCCwMttbcG4OJ5FyeEsFFgqTmHS3j6vWDEZlBPE7Xp On0RjeNTD2Vh3ykWYaLMvEChH05lyUs9dbrB8vAzEzbwddbu+4ZfuuXszho8bc8gGZ HYZJes9g3WIlOxDIRgJgoioDN3+bjhe7E2UbXV4Zd4GNJ6kvkZcrA9evSk0QPHgGaZ S5bWVXRZ3DTzQ== From: Andy Chi To: Jaroslav Kysela , Takashi Iwai , Jeremy Szu , Hui Wang , Werner Sembach , Lucas Tanure , Cameron Berkenpas , Kailang Yang , Sami Loone , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Cc: andy.chi@canonical.com Subject: [PATCH] ALSA: hda/realtek: fix right sounds and mute/micmute LEDs for HP machines Date: Mon, 14 Mar 2022 22:21:19 +0800 Message-Id: <20220314142122.71602-1-andy.chi@canonical.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * The HP ProBook 440/450 and EliteBook 640/650 are using ALC236 codec which used 0x02 to control mute LED and 0x01 to control micmute LED. Therefore, add a quirk to make it works. Signed-off-by: Andy Chi --- sound/pci/hda/patch_realtek.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index c34b4888978b..4650ef9110d6 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -9017,6 +9017,10 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x103c, 0x8992, "HP EliteBook 845 G9", ALC287_FIXUP_CS35L41_I2C_2), SND_PCI_QUIRK(0x103c, 0x8994, "HP EliteBook 855 G9", ALC287_FIXUP_CS35L41_I2C_2), SND_PCI_QUIRK(0x103c, 0x8995, "HP EliteBook 855 G9", ALC287_FIXUP_CS35L41_I2C_2), + SND_PCI_QUIRK(0x103c, 0x89a4, "HP ProBook 440 G9", ALC236_FIXUP_HP_GPIO_LED), + SND_PCI_QUIRK(0x103c, 0x89a6, "HP ProBook 450 G9", ALC236_FIXUP_HP_GPIO_LED), + SND_PCI_QUIRK(0x103c, 0x89ac, "HP EliteBook 640 G9", ALC236_FIXUP_HP_GPIO_LED), + SND_PCI_QUIRK(0x103c, 0x89ae, "HP EliteBook 650 G9", ALC236_FIXUP_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x89c3, "Zbook Studio G9", ALC245_FIXUP_CS35L41_SPI_4_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x89c6, "Zbook Fury 17 G9", ALC245_FIXUP_CS35L41_SPI_2), SND_PCI_QUIRK(0x103c, 0x89ca, "HP", ALC236_FIXUP_HP_MUTE_LED_MICMUTE_VREF), -- 2.25.1