From patchwork Wed Oct 13 03:50:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hui Wang X-Patchwork-Id: 1540171 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=bAUlc1FB; dkim-atps=neutral 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 bilbo.ozlabs.org (Postfix) with ESMTPS id 4HTdqH3kNZz9sNH for ; Wed, 13 Oct 2021 14:50:51 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1maVHx-0004Hc-VY; Wed, 13 Oct 2021 03:50:46 +0000 Received: from smtp-relay-canonical-0.internal ([10.131.114.83] helo=smtp-relay-canonical-0.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1maVHv-0004Ev-1p for kernel-team@lists.ubuntu.com; Wed, 13 Oct 2021 03:50:43 +0000 Received: from localhost.localdomain (unknown [123.112.69.44]) (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 EAED63FFE0 for ; Wed, 13 Oct 2021 03:50:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1634097042; bh=/G2ZmEDGyboLQvb5etQqbHOKMLR0kMm/R1WMjUmwejE=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=bAUlc1FBh7yP9C5jpf/ypf6/N7USioIfN1fMy1IRU07kIzy/nIgk7L9NhpCwLDqk1 ON7Cv057WodI2RibaqEvpAAb/paey4OSyWXldiS2jl0q+OiQgvDlWobo4ZusoofZgM e9XpSKCp+l+vwO1EBvcwTe9UnCMOXtRTaZOTCAw2AR4TxrnhzPIAmBtClOWC6QTlGT wRj07In8goB0kV2AywTk6RfRoenvK1fJpixMAVZ7D09YchCie4UfyRsFg35V/8nm13 OiU2yRcXgoD3q4cvbTpzhveEftRIJ3pPgKbYpFUEB8CIO4ZCW++3AWi83kziPMFXS9 eGPyQRPa2M4jA== From: Hui Wang To: kernel-team@lists.ubuntu.com Subject: [SRU][I/H][PATCH v2 2/2] ALSA: hda/realtek: Fix for quirk to enable speaker output on the Lenovo 13s Gen2 Date: Wed, 13 Oct 2021 11:50:23 +0800 Message-Id: <20211013035023.9817-5-hui.wang@canonical.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211013035023.9817-1-hui.wang@canonical.com> References: <20211013035023.9817-1-hui.wang@canonical.com> 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" From: Cameron Berkenpas BugLink: https://bugs.launchpad.net/bugs/1939052 The previous patch's HDA verb initialization for the Lenovo 13s sequence was slightly off. This updated verb sequence has been tested and confirmed working. Fixes: ad7cc2d41b7a ("ALSA: hda/realtek: Quirks to enable speaker output for Lenovo Legion 7i 15IMHG05, Yoga 7i 14ITL5/15ITL5, and 13s Gen2 laptops.") BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=208555 Cc: Signed-off-by: Cameron Berkenpas Link: https://lore.kernel.org/r/20211010225410.23423-1-cam@neo-zeon.de Signed-off-by: Takashi Iwai (cherry picked from commit 023a062f238129e8a542b5163c4350ceb076283e linux-next) Signed-off-by: Hui Wang --- sound/pci/hda/patch_realtek.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 9e17fff03658..5c81002ea501 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -8284,7 +8284,7 @@ static const struct hda_fixup alc269_fixups[] = { .v.verbs = (const struct hda_verb[]) { { 0x20, AC_VERB_SET_COEF_INDEX, 0x24 }, { 0x20, AC_VERB_SET_PROC_COEF, 0x41 }, - { 0x20, AC_VERB_SET_PROC_COEF, 0xb020 }, + { 0x20, AC_VERB_SET_COEF_INDEX, 0x26 }, { 0x20, AC_VERB_SET_PROC_COEF, 0x2 }, { 0x20, AC_VERB_SET_PROC_COEF, 0x0 }, { 0x20, AC_VERB_SET_PROC_COEF, 0x0 },