From patchwork Wed Jul 7 14:09:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Chi X-Patchwork-Id: 1501764 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 4GKhCJ53rwz9sXL; Thu, 8 Jul 2021 00:10:20 +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 1m18Fl-0006CT-2a; Wed, 07 Jul 2021 14:10:17 +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 1m18Fi-0006CG-MT for kernel-team@lists.ubuntu.com; Wed, 07 Jul 2021 14:10:14 +0000 Received: from mail-pj1-f71.google.com ([209.85.216.71]) by youngberry.canonical.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1m18Fi-0000qg-F2 for kernel-team@lists.ubuntu.com; Wed, 07 Jul 2021 14:10:14 +0000 Received: by mail-pj1-f71.google.com with SMTP id v4-20020a17090a4ec4b02901731757d1a2so1633680pjl.4 for ; Wed, 07 Jul 2021 07:10:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=h4EYcc1zL8PYH7p4NcwbuxZmuzxkT5Q17CMVC79M8LQ=; b=MTbcEZg7nPB1t0eRyR7ypKnqhkzXr49W9p5iNBtFOVpW5l9Zx1hvE2dUCBr/u2QY2c XKN8aYZDjHqdrpMIjqLqcixe0d+xGXKIAnvRXkF1PLtErmt4RbnCBsfeH20IWy+40Bk8 OFTCSE4EmfUt5Z6g8l5A3WrHf9Zqkplf5c3CScWtljWjRHIi3FNggVYaXWu5/UQkOZb3 wveExc0YXVLSETPZIEf0WKmHuI3+w6wMvcSDAVpfxMO87E/kWY/b9U+d+VaqpixuFtnw Dje1vFO1zUvlZ59fxrkF0XntOxGhqPJYad2tbxIGZZu25dnzWmAReSt+gWy3feNJaxxH tzHA== X-Gm-Message-State: AOAM532g00P3VSOIqzOScvcRh55G/59T2OBgOmFxmglYXzxIqnnZS0QR 6rHWdKWXjOpl4MHVcHlyEdmfEv5Q6rrGtJiwAi3JbByHEiEJ3SwU8kV7gzlCJcI1PbvUEOXbNuT jzhbp/9KmBENM8i3+DVk5UUSgbCuZiD6eLFGCauLmcg== X-Received: by 2002:a17:90a:5401:: with SMTP id z1mr25638862pjh.7.1625667013297; Wed, 07 Jul 2021 07:10:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJaprboP3noxToilq95GoJuxbyHGHn8OHbV1/NVKeSllYF0QVyMoIG2fL3ddieHmLDw61nsA== X-Received: by 2002:a17:90a:5401:: with SMTP id z1mr25638843pjh.7.1625667013099; Wed, 07 Jul 2021 07:10:13 -0700 (PDT) Received: from localhost.localdomain (61-220-137-34.HINET-IP.hinet.net. [61.220.137.34]) by smtp.gmail.com with ESMTPSA id n47sm12384689pfv.55.2021.07.07.07.10.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Jul 2021 07:10:12 -0700 (PDT) From: Andy Chi To: kernel-team@lists.ubuntu.com Subject: [U/I/H/OEM-5.10/OEM-5.13][PATCH 0/3] Mute/mic LEDs no function on some HP platfroms Date: Wed, 7 Jul 2021 22:09:58 +0800 Message-Id: <20210707141010.536437-1-andy.chi@canonical.com> X-Mailer: git-send-email 2.25.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/1934878 [Impact] The mic mute/audio mute LEDS are not work on 1) HP ProBook 630 G8 Notebook PC 2) HP ProBook 445 G8 Notebook PC 3) HP ProBook 450 G8 Notebook PC [Fix] It needs the specific quirk for the hardware layout. Thus, add the quirks to make it works. [Test] After applying the quirk, the audio/mic mute LEDs are working good. [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 will not work when muting audio-output or microphone). Andy Chi (3): ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 450 G8 ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 445 G8 ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 630 G8 sound/pci/hda/patch_realtek.c | 4 ++++ 1 file changed, 4 insertions(+) Acked-by: Tim Gardner Acked-by: Kleber Sacilotto de Souza Acked-By: AceLan Kao Acked-By: AceLan Kao