From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 0E4C214F9C8; Tue, 20 Feb 2024 21:02:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708462975; cv=none; b=Mk2ipz5nZ9nIoDcu6hqGslIlq6J1hqV/p64cnIHHBn2ddOCNdoHvFrQIHgSiipaxVdBp2peJjO2WIZZVtCsVjbRY0+EiQF1s5rWqEERHMAQQvw2K4AKZVjabM12Ps6Dj4KU9XBaJ3KgiGyECxY5kb/BL9dyY2m9FGcQVraun8Qk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708462975; c=relaxed/simple; bh=LrzMdODrLUSrPjxPbOQUu50R499cdhmACUg24IILtWA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=urVWkKp4iIKLctdj0/DqsTq3r0PUrDi9e1hwU3tB++WfqUiI6T/d+whQzSsYGGefeYxVRJ57UZJsQrwMIDfX59d2GpB6VPhJbp6mhYnrD+xygimEw3GqoMGW4Q+ROhzv5sEU8jU/qX2d5McJ8gXtkrNO09kVXTOyrSkJepjV7fI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=1zo+Qtff; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="1zo+Qtff" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7108FC433F1; Tue, 20 Feb 2024 21:02:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1708462974; bh=LrzMdODrLUSrPjxPbOQUu50R499cdhmACUg24IILtWA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=1zo+Qtffj17+B39EOS+5DRGN+6Doe1p29MLr0lqY2vVvUoEb/vovSZMSa0uIyE0CE rmtrMGdhuyd9a8o2iQrd/vj343cVmZYYo7z3sewNtD+OXz2mPBUMm65+UliSSdUddz nzdCQbXa0Z9bKGbEEsHddkn7/jZqpWXG2XKqLzSI= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Andy Chi , Takashi Iwai Subject: [PATCH 6.1 095/197] ALSA: hda/realtek: fix mute/micmute LEDs for HP ZBook Power Date: Tue, 20 Feb 2024 21:50:54 +0100 Message-ID: <20240220204843.928818994@linuxfoundation.org> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240220204841.073267068@linuxfoundation.org> References: <20240220204841.073267068@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.1-stable review patch. If anyone has any objections, please let me know. ------------------ From: Andy Chi commit 1513664f340289cf10402753110f3cff12a738aa upstream. 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 Cc: Link: https://lore.kernel.org/r/20240122074826.1020964-1-andy.chi@canonical.com Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- sound/pci/hda/patch_realtek.c | 2 ++ 1 file changed, 2 insertions(+) --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -9726,6 +9726,8 @@ static const struct snd_pci_quirk alc269 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),