From mboxrd@z Thu Jan 1 00:00:00 1970 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 E9455C001DE for ; Sun, 13 Aug 2023 16:11:48 +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 C953CE11; Sun, 13 Aug 2023 18:10:56 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz C953CE11 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1691943106; bh=hvQe0rKIltlZsRIS9b/IhC6vA3tVq/YJvSIyZP3igXs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=K4olLSpBovMckJBnZamzsTGFzpx+hjxIpytuyYpBZS8sVckuspQhydEaJ6TxKF0OM SfNrAOj7/o7W2JzkKZxtl52xSY/CIvdMLpwQvDHzdxeLu/ogv/HPayn8HWfFf5xqz3 ixcVA1UMt2p7+1Nn0kXZzTBzpoK+XnVm6ZXBOzTc= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 8F757F80551; Sun, 13 Aug 2023 18:10:56 +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 43754F80536; Sun, 13 Aug 2023 18:10:56 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 52716F80551; Sun, 13 Aug 2023 18:10:53 +0200 (CEST) Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 98A0EF801EB for ; Sun, 13 Aug 2023 18:10:51 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 98A0EF801EB Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=H+YKBqH2 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 59E5763AFB; Sun, 13 Aug 2023 16:10:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 73B34C433C8; Sun, 13 Aug 2023 16:10:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691943049; bh=hvQe0rKIltlZsRIS9b/IhC6vA3tVq/YJvSIyZP3igXs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=H+YKBqH2zwmQ5CXch8cG9ImORfIC1PL+J3QKWpLLfqSTWchsx1AFvr0FdFsS5WZly DpvZowZ0SxGzHuUDpivkvFO4UE0dpatJNBlusk5w4qUytVRFW920ygF7Cg4rbi99QC Db7f4pMzd4n93ZGuH6mZ2RxagTFWBLg5HwSFTfV8wcy92MFBPEBUqo0XWiTw03WmX3 irIOQKokbZwWGUiG8sk5P8xFiwQ8t7XpvlQedE9a285eo1r01/EtQRJOo4AnEpokAL GZnIEPRkG0Mtay+0cFYBuofOrkPMiDkUufE0Ite8VaySBRxmIzJ6wtFyG1+F0dbiiD zykdSfUA5Otfw== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Edgar , Mark Brown , Sasha Levin , lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.com, cristian.ciocaltea@collabora.com, fred.oh@linux.intel.com, hdegoede@redhat.com, pierre-louis.bossart@linux.intel.com, u.kleine-koenig@pengutronix.de, zhuning0077@gmail.com, alsa-devel@alsa-project.org Subject: [PATCH AUTOSEL 5.10 14/25] ASoc: codecs: ES8316: Fix DMIC config Date: Sun, 13 Aug 2023 12:09:25 -0400 Message-Id: <20230813160936.1082758-14-sashal@kernel.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230813160936.1082758-1-sashal@kernel.org> References: <20230813160936.1082758-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 5.10.190 Content-Transfer-Encoding: 8bit Message-ID-Hash: O6CGGC5Q6NFGCWJLCTDX7YEIAXUGOO4A X-Message-ID-Hash: O6CGGC5Q6NFGCWJLCTDX7YEIAXUGOO4A X-MailFrom: sashal@kernel.org 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; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header 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: From: Edgar [ Upstream commit d20d35d1ad62c6cca36368c1e8f29335a068659e ] According to the datasheet, the DMIC config should be changed to { 0, 2 ,3 } Signed-off-by: Edgar Link: https://lore.kernel.org/r/20230719054722.401954-1-ljijcj@163.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- 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 03ad34a275da2..dafbf73d4eede 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), -- 2.40.1