From patchwork Wed Jul 19 05:47:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Edgar X-Patchwork-Id: 704327 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E8E9BEB64DA for ; Wed, 19 Jul 2023 07:36:40 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id BE22B200; Wed, 19 Jul 2023 09:35:48 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz BE22B200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1689752198; bh=vDfHsvFDDHtAtOTKFDpn495+7QnZLBgdCix0dRjOWd4=; h=From:To:Cc:Subject:Date:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=dtO9tgN4ZUUKCRGrXoDkzZ/8v+dJoHhP0l/JZqh2o/EgbeJ89c0Ma/9a7vNeBLyHG tZB3Bzwxc2pnblXvfpRJ7plMOcGTIJOCQJSbu95I24demJJM5zKc1rf6Ip58xcTAm6 S2O+DffsETTYQO5IaO6x1+lg2oDHC1RgqfEtOiDg= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 22A55F80551; Wed, 19 Jul 2023 09:35:11 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id C2161F80551; Wed, 19 Jul 2023 09:35:10 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 09618F8047D; Wed, 19 Jul 2023 07:47:45 +0200 (CEST) Received: from m12.mail.163.com (m12.mail.163.com [220.181.12.196]) by alsa1.perex.cz (Postfix) with ESMTP id 552E5F8007E for ; Wed, 19 Jul 2023 07:47:35 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 552E5F8007E Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key, unprotected) header.d=163.com header.i=@163.com header.a=rsa-sha256 header.s=s110527 header.b=K02t141Z DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=ZCjsQ xj97PsNh2/mOZ4iroLyoL86k1KKZ6/WDwJI8Yc=; b=K02t141ZYii7KK+FJz5j3 EkudIwO/DbutGN73Z9olCrxu1pWpd0D/XLHtYMeR1F3hXyYuqHkFwaONEvPX9iBB uXRkpyZjBNaYD5bCL/9xGIY3c+I7O6M3cm6iM1HA4s55KjKQwkBq3jb/xMQQtoAb SpOFD6oOOU/gZ2SzdoqO50= Received: from vm.localdomain (unknown [116.233.75.15]) by zwqz-smtp-mta-g1-0 (Coremail) with SMTP id _____wCHjRrseLdkFdGyAg--.39110S2; Wed, 19 Jul 2023 13:47:29 +0800 (CST) From: Edgar To: alsa-devel@alsa-project.org, broonie@kernel.org Cc: yangxiaohua@everest-semi.com, zhuning@everest-semi.com, Edgar Subject: [PATCH] ASoc: codecs: ES8316: Fix DMIC config Date: Wed, 19 Jul 2023 13:47:22 +0800 Message-Id: <20230719054722.401954-1-ljijcj@163.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CM-TRANSID: _____wCHjRrseLdkFdGyAg--.39110S2 X-Coremail-Antispam: 1Uf129KBjvdXoWruw4UGFy5Cry8tFWxJw15XFb_yoW3CFg_X3 y8J3yvvFWjkF9Fv34UCF4F9a1093W3CFWqkr1jgFWDJFy5Ar1YkF12gr13u393XFyrAFya qF1aqr48CFyjvjkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7sRiUGY5UUUUU== X-Originating-IP: [116.233.75.15] X-CM-SenderInfo: xomlyurm6rljoofrz/xtbCfAixl2DcL1ClQwABs2 X-MailFrom: ljijcj@163.com X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1 Message-ID-Hash: LUACY7SNA64IRLH77IBDYKPQJVSOLZNQ X-Message-ID-Hash: LUACY7SNA64IRLH77IBDYKPQJVSOLZNQ X-Mailman-Approved-At: Wed, 19 Jul 2023 07:35:06 +0000 X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: According to the datasheet, the DMIC config should be changed to { 0, 2 ,3 } Signed-off-by: Edgar --- sound/soc/codecs/es8316.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/es8316.c b/sound/soc/codecs/es8316.c index 34cf60769b62..65e497b455d3 100644 --- a/sound/soc/codecs/es8316.c +++ b/sound/soc/codecs/es8316.c @@ -153,7 +153,7 @@ static const char * const es8316_dmic_txt[] = { "dmic data at high level", "dmic data at low level", }; -static const unsigned int es8316_dmic_values[] = { 0, 1, 2 }; +static const unsigned int es8316_dmic_values[] = { 0, 2, 3 }; static const struct soc_enum es8316_dmic_src_enum = SOC_VALUE_ENUM_SINGLE(ES8316_ADC_DMIC, 0, 3, ARRAY_SIZE(es8316_dmic_txt),