From patchwork Tue Jun 15 17:59:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeremy Szu X-Patchwork-Id: 1492398 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=) 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 4G4GKx6kWCz9sRK; Wed, 16 Jun 2021 03:59:32 +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 1ltDLQ-0001co-Vh; Tue, 15 Jun 2021 17:59:24 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1ltDLQ-0001cd-0I for kernel-team@lists.ubuntu.com; Tue, 15 Jun 2021 17:59:24 +0000 Received: from 36-226-162-78.dynamic-ip.hinet.net ([36.226.162.78] 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 1ltDLP-0005PQ-7g for kernel-team@lists.ubuntu.com; Tue, 15 Jun 2021 17:59:23 +0000 From: Jeremy Szu To: kernel-team@lists.ubuntu.com Subject: [I/H/OEM-5.10][PATCH 0/4] Mute/Mic mute LEDs and right speaker are not work on HP platforms Date: Wed, 16 Jun 2021 01:59:15 +0800 Message-Id: <20210615175920.20241-1-jeremy.szu@canonical.com> X-Mailer: git-send-email 2.31.1 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/1932055 [Impact] The mic mute/audio mute LEDS are not work on 1) HP Elite Dragonfly G2 Notebook PC 2) HP EliteBook x360 1040 G8 Notebook PC 3) HP EliteBook 840 Aero G8 Notebook PC 4) HP ZBook Power 15.6 inch G8 Mobile Workstation PC The right channel of internal speaker doesn't work on 1) HP Elite Dragonfly G2 Notebook PC 2) HP EliteBook x360 1040 G8 Notebook PC [Fix] These four platforms need specific quirk for different hardware layout. Thus, add the quirks for them. [Test] After applying the quirk, the LEDs/speaker are work good on 1) HP Elite Dragonfly G2 Notebook PC 2) HP EliteBook x360 1040 G8 Notebook PC 3) HP EliteBook 840 Aero G8 Notebook PC 4) HP ZBook Power 15.6 inch G8 Mobile Workstation PC [Where problems could occur] If HP ships the different system boards design with the same subsystem ID of audio codec which is using different GPIO pins (different layout), then the quirk will not work (LEDs/speaker will not work when muting audio-output or microphone). Jeremy Szu (4): ALSA: hda/realtek: fix mute/micmute LEDs and speaker for HP Elite Dragonfly G2 ALSA: hda/realtek: fix mute/micmute LEDs and speaker for HP EliteBook x360 1040 G8 ALSA: hda/realtek: fix mute/micmute LEDs for HP EliteBook 840 Aero G8 ALSA: hda/realtek: fix mute/micmute LEDs for HP ZBook Power G8 sound/pci/hda/patch_realtek.c | 4 ++++ 1 file changed, 4 insertions(+) Acked-by: Tim Gardner Acked-by: Stefan Bader