Received: by 2002:a05:7412:7c14:b0:fa:6e18:a558 with SMTP id ii20csp175065rdb; Sun, 21 Jan 2024 23:50:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IGgRpbLBqwGmbK4MKjwGtdIEprLe5IEwrmbEgxerfb0koa5ng8ln+9GwiwILE9kXyc1EGC3 X-Received: by 2002:a9d:6750:0:b0:6db:fa74:d6b7 with SMTP id w16-20020a9d6750000000b006dbfa74d6b7mr4086151otm.3.1705909819774; Sun, 21 Jan 2024 23:50:19 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705909819; cv=pass; d=google.com; s=arc-20160816; b=bYWN4XwKhs73IFXgsX/e6Ey0MJkOYeTRCUQ6r/6E5cLTdgu/0nCFHVMSM7+QlEz82R VSQixiwBjUqSdw/ETBbYpx1XVYZfA+/6SWtXWq6s5n9SrjBHyrHurTm6G+w4jgyduFuE Hp65p7SJH8ZWu880ZOH7GfI3L49VAQ9JST9Ckw1Fs2kRcfrj3MM98AMY/EwL1ZMrqK9o FGab8Z5EtAM7Jt/w2SA6NjTq+o1pZF6tbyP04q+05vv+IZ3xuDzCA2PAn2MwU7iYWzRo mX1w3HYKsA0tkR6f4kmGTiOHnMERjgGs58/tfx89o1od8tq7/1qxskf5th5+bWmlsWKS Keag== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=8MR2CHTpKy5z3N+uu2SQ+FkKZNYuDPWJMZj4SqZeOr8=; fh=K/akPgUS1sCVdsLGQjo1yhoXF8MQYUXoelhKBdT5Aqo=; b=rKDsTy46b30n7Ztc6HLCL8PYiKtUO35KhSKnrkZGqL/FlQnVU3oBDCWDBkxFiqGQFr E/g6mKNuXiAghb1DC7qmf8xxmJ0lfiVB9atXmgMAAeB5oFEtWxZY6PIyx+kWxGsg+rXR b1WhmFUieKxImxaLKFDn8HsIS2m6PjESAy+kgdj48WDyPJlaff8GkZLpc7944tTlu9kp AVIfDCQ/VO+iBD538uBeep6qhrE1eagdq4OPYY2tjUpxrqs3uEqLErDlnR7xiQ5IUHL+ 0Uy38kM2su9YJCOsIKadEuhWvb2gsRzlQ75CFtjvfDi9BdRm6ETcHw2hDFE1AA2GA/DT MChg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b="tFq/h1QD"; arc=pass (i=1 spf=pass spfdomain=canonical.com dkim=pass dkdomain=canonical.com dmarc=pass fromdomain=canonical.com); spf=pass (google.com: domain of linux-kernel+bounces-32464-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32464-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 21-20020a631555000000b005cec917524asi8093889pgv.693.2024.01.21.23.50.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 23:50:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-32464-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b="tFq/h1QD"; arc=pass (i=1 spf=pass spfdomain=canonical.com dkim=pass dkdomain=canonical.com dmarc=pass fromdomain=canonical.com); spf=pass (google.com: domain of linux-kernel+bounces-32464-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32464-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 6925A288F4D for ; Mon, 22 Jan 2024 07:49:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9880E17729; Mon, 22 Jan 2024 07:49:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=canonical.com header.i=@canonical.com header.b="tFq/h1QD" Received: from smtp-relay-canonical-1.canonical.com (smtp-relay-canonical-1.canonical.com [185.125.188.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B4B4E16410; Mon, 22 Jan 2024 07:49:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.125.188.121 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705909763; cv=none; b=tG6lkd9MUAJPcGB7dHmDQ5urBym9E6nawvW0hK/HFXE8gUe2D6gZvyoo0jPrCAP2EpFhm2g0MMgrTsBFAdGNdZf86OcbeHyLi4xS6SrM86aYuspxFkOYhyqCw7bZcI4kwAiu/RHvNyWXKc7nck8XuZL1rtk5tey8mx7mfIsk1kM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705909763; c=relaxed/simple; bh=97zl6QgN9oNdGLUgQ8fFwCeVMViCX/2lSXi6MIcNxlc=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=rZbYPHt0E8CXro2RyuMeThxflaZYwOxINrDxrrYoPPEukudYTE+PRa+WZ/cShA30Pwv+gXvYUgfOCSP4EAjod+zZlfhI9wGF4y09ZPm4FVjFoD7M2unjJvPbZprKzfkVfbpq8+fqEupYSQ5wIAA5gH8aQ6YkJdMr54tdQPzH4MM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canonical.com; spf=pass smtp.mailfrom=canonical.com; dkim=pass (2048-bit key) header.d=canonical.com header.i=@canonical.com header.b=tFq/h1QD; arc=none smtp.client-ip=185.125.188.121 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canonical.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=canonical.com 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-1.canonical.com (Postfix) with ESMTPSA id 3EF583FB77; Mon, 22 Jan 2024 07:49:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1705909753; bh=8MR2CHTpKy5z3N+uu2SQ+FkKZNYuDPWJMZj4SqZeOr8=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=tFq/h1QD+OTwt/eb0GRwrY7ui7KbbPi6PQqNBBi/HwQI53rmGeOuejNlknF6yetCg 1Q5Q8ClAM00M7jNgjbVludyX2S/7YRHKVK9/rdaXJHit7nSAIhTfJ968Tz0kiPgPfX hyji4may9/UjmLXGWuewOqPRV0OaxzMnKP6jfLrnHZIiWYlapGOJTAk2023o8+OXnY a+rv0jG+Q27XZtrBW8jRi9q8fLhYOi3NTalYzXVCN2a3Jd9/TJ4124vthfaSKSdiOH VWMNzfQY02TJTiDarkgWYr0MxDDwIF3omHaKkcJSsHplf+vmn+Sao0YBKW9FM2NfP+ JHNbdiY0YYBrw== From: Andy Chi To: Cc: andy.chi@canonical.com, Jaroslav Kysela , Takashi Iwai , Stefan Binding , Kailang Yang , "Luke D. Jones" , Shenghao Ding , Matthew Anderson , Vitaly Rodionov , linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] ALSA: hda/realtek: fix mute/micmute LEDs for HP ZBook Power Date: Mon, 22 Jan 2024 15:48:24 +0800 Message-Id: <20240122074826.1020964-1-andy.chi@canonical.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The HP ZBook Power using ALC236 codec which using 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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index f6f16622f9cc..19f2eb26659d 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -9957,6 +9957,8 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x103c, 0x8c72, "HP EliteBook 865 G11", ALC287_FIXUP_CS35L41_I2C_2_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x8c96, "HP", ALC236_FIXUP_HP_MUTE_LED_MICMUTE_VREF), SND_PCI_QUIRK(0x103c, 0x8c97, "HP ZBook", ALC236_FIXUP_HP_MUTE_LED_MICMUTE_VREF), + SND_PCI_QUIRK(0x103c, 0x8ca1, "HP ZBook Power", ALC236_FIXUP_HP_GPIO_LED), + SND_PCI_QUIRK(0x103c, 0x8ca2, "HP ZBook Power", ALC236_FIXUP_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x8ca4, "HP ZBook Fury", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x8ca7, "HP ZBook Fury", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x8cf5, "HP ZBook Studio 16", ALC245_FIXUP_CS35L41_SPI_4_HP_GPIO_LED), -- 2.34.1