From patchwork Fri Aug 14 05:39:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hui Wang X-Patchwork-Id: 1344626 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=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=canonical.com 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 4BSXMd6v5lz9sTM; Fri, 14 Aug 2020 15:40:12 +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 1k6SRg-0002pn-OB; Fri, 14 Aug 2020 05:40:04 +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 1k6SRe-0002p5-QC for kernel-team@lists.ubuntu.com; Fri, 14 Aug 2020 05:40:02 +0000 Received: from [114.252.213.130] (helo=localhost.localdomain) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1k6SRd-00071g-QU for kernel-team@lists.ubuntu.com; Fri, 14 Aug 2020 05:40:02 +0000 From: Hui Wang To: kernel-team@lists.ubuntu.com Subject: [SRU][Focal][OEM-5.6][Groovy][PATCH 0/1] alsa/sof: support 1 and 3 dmics Date: Fri, 14 Aug 2020 13:39:25 +0800 Message-Id: <20200814053926.10789-1-hui.wang@canonical.com> X-Mailer: git-send-email 2.17.1 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: , MIME-Version: 1.0 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/1891585 [Impact] On a Dell tigerlake laptop, the sof driver fails to detect the dmic, it alwasys report 0 dmics on the machine. So users doesn't have internal mic to use. [Fix] Intel write a patch to fix this issue, if NHLT table returns 1 or 3 dmics, the sof driver will not fail like before, it can support 1 or 3 dmics after applying this patch. [Test Case] Boot the kernel with this patch, and put sof-hda-generic-1ch.tplg in the linux-firmware, the sof driver could detect the dmic and users have a workable internal mic after booting up. [Regression Risk] This patch adds new support for 1 and 3 dmics, it doesn't change anything on existing functions, so the regression posibility is very low. Jaska Uimonen (1): UBUNTU: SAUCE: ASoC: SOF: intel: hda: support also devices with 1 and 3 dmics sound/soc/sof/intel/hda.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)