From patchwork Tue Jun 13 13:04:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aaron Ma X-Patchwork-Id: 1794508 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: legolas.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=YQ4mj6h+; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4QgTL529nnz20XW for ; Tue, 13 Jun 2023 23:05:01 +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 1q93hg-0007f0-Ej; Tue, 13 Jun 2023 13:04:56 +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 1q93hf-0007eT-HC for kernel-team@lists.ubuntu.com; Tue, 13 Jun 2023 13:04:55 +0000 Received: from localhost.localdomain (unknown [222.129.46.53]) (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 172173F138 for ; Tue, 13 Jun 2023 13:04:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1686661495; bh=CRmxiJC4r2Swdw/T+e77tzMww1DoJj21YRnS/Nl0OKg=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=YQ4mj6h+REEZRv/ehi1XwBxqMRcsGjlfGt9hM9FNj1qW8NWRg2RzgUJ2/b4mqrGRl x27PZ945K6d/7GQdOMIqY/e/POKcvRqj8tHmLHAumDFFRQr8xEiJSm+VSIUTdFMHXf 23aAZRF6fxUweL52jgXYhsnHjGHlfFn5BeYH472OBPjTn2fwXL5kpsH/IjYbCWFSBh iNjIt0qfbG1ROQW7xOzOpnvMw57EQ33FoVzxkJA749D+cggkD+Bi+uZPnkQguMCXqe coIVeHS1hkG6/aAZt9knhf7eeKIs7Agzn9x8tsP/yR4E5nv19gX0j1ryaWADM+s5fN sMW6EQ5+PyOqw== From: Aaron Ma To: kernel-team@lists.ubuntu.com Subject: [SRU][J/K/L][PATCH 1/1] ALSA: hda/realtek: Add Lenovo P3 Tower platform Date: Tue, 13 Jun 2023 21:04:44 +0800 Message-Id: <20230613130444.610757-2-aaron.ma@canonical.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230613130444.610757-1-aaron.ma@canonical.com> References: <20230613130444.610757-1-aaron.ma@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: RenHai BugLink: https://bugs.launchpad.net/bugs/2023650 Headset microphone on this platform does not work without ALC897_FIXUP_HEADSET_MIC_PIN fixup. Signed-off-by: RenHai Cc: Link: https://lore.kernel.org/r/20230602003604.975892-1-kean0048@gmail.com Signed-off-by: Takashi Iwai (cherry picked from commit 7ca4c8d4d3f41c2cd9b4cf22bb829bf03dac0956) Signed-off-by: Aaron Ma --- sound/pci/hda/patch_realtek.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 2e3f87e9b4ee..37a01954e73c 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -11686,6 +11686,7 @@ static const struct snd_pci_quirk alc662_fixup_tbl[] = { SND_PCI_QUIRK(0x14cd, 0x5003, "USI", ALC662_FIXUP_USI_HEADSET_MODE), SND_PCI_QUIRK(0x17aa, 0x1036, "Lenovo P520", ALC662_FIXUP_LENOVO_MULTI_CODECS), SND_PCI_QUIRK(0x17aa, 0x1057, "Lenovo P360", ALC897_FIXUP_HEADSET_MIC_PIN), + SND_PCI_QUIRK(0x17aa, 0x1064, "Lenovo P3 Tower", ALC897_FIXUP_HEADSET_MIC_PIN), SND_PCI_QUIRK(0x17aa, 0x32ca, "Lenovo ThinkCentre M80", ALC897_FIXUP_HEADSET_MIC_PIN), SND_PCI_QUIRK(0x17aa, 0x32cb, "Lenovo ThinkCentre M70", ALC897_FIXUP_HEADSET_MIC_PIN), SND_PCI_QUIRK(0x17aa, 0x32cf, "Lenovo ThinkCentre M950", ALC897_FIXUP_HEADSET_MIC_PIN),