From patchwork Tue Jul 5 02:08:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hui Wang X-Patchwork-Id: 1652213 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=e+mp7DVY; dkim-atps=neutral Authentication-Results: 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=) 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 4LcR1w4z15z9sGq for ; Tue, 5 Jul 2022 12:09:23 +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 1o8Xzy-0000Ly-UD; Tue, 05 Jul 2022 02:09:10 +0000 Received: from smtp-relay-canonical-1.internal ([10.131.114.174] helo=smtp-relay-canonical-1.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1o8Xzx-0000Lr-QB for kernel-team@lists.ubuntu.com; Tue, 05 Jul 2022 02:09:09 +0000 Received: from localhost.localdomain (unknown [112.103.143.201]) (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-1.canonical.com (Postfix) with ESMTPSA id 3A36542B90 for ; Tue, 5 Jul 2022 02:09:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1656986949; bh=lGdl282cgPukCqzFyF6Y6SqhrVgjnOjiog+Wh0Nn0wg=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=e+mp7DVYwL08e9ktnsncryH67HDPKJBMi9I5L3Kiv1FkTDdtpTQdWaeHfejSOwUuT QwmbSLDIgiOzJw5pp36yHsQeRBuxr54SJCud5ppRPP7XDxqb1LioRfPf0Qv1iojpnp IgK/taSlGk57yLBZB1AX1DAe7Qc5gEeOgc5Tc/KTdlKDHV1ilySLcDoLTjxI9hCIcc FF/A+q90Y6F3UPrLrPKvwjkmNIn3+Z7/KspgLyDcP6Hssjq92iEltHVtenHMOPfECD ijPOtn8I32Pb1YMmJXi7dQtbiHgZaU3VygZsF9A4JZAaR2hO0qnLdXvjeEN6aNvOl3 IA6Yo1xc2jBFg== From: Hui Wang To: kernel-team@lists.ubuntu.com Subject: [SRU][OEM-5.14/OEM-5.17][PATCH 0/2] alsa: asoc: amd: the internal mic can't be dedected on yellow carp machines Date: Tue, 5 Jul 2022 10:08:59 +0800 Message-Id: <20220705020901.11868-1-hui.wang@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/1980700 The fix is already in the upstream kernel v5.19-rc1, no need to send the patches to unstable kernel. And our Jammy kernel (5.15.0) has not merged the patchset of #1949245, this SRU is not applied to jammy kernel too. [Impact] On the AMD YC platforms, the internal mic can't be detected and there is no internal mic for users to use. [Fix] Backport 2 patches from mainline kernel to fix this problem. [Test] boot the patched kernel on the machine which has updated BIOS, after loging into the desktop, open the gnome-sound-setting, there is internal mic, and could record sound via internal mic. [Where problems could occur] This only impacts intenal mic detection on AMD yc machines, it will check the acpi variable first, if not detected, it will check the acpi dmi table as before, so the regression possibility is very low, and we already tested these patches on a couple of Lenovo YC machines, all worked well. Mario Limonciello (2): ASoC: amd: Add driver data to acp6x machine driver ASoC: amd: Add support for enabling DMIC on acp6x via _DSD sound/soc/amd/yc/acp6x-mach.c | 42 +++++++++++++++++++++++++++++++---- 1 file changed, 38 insertions(+), 4 deletions(-)