From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A8F162AB21 for ; Wed, 20 Sep 2023 12:01:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2BF38C433C8; Wed, 20 Sep 2023 12:01:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1695211312; bh=CaCIEm4SMi6wMEDqfio4vggklonxQu7lZpv0zAp+eWE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ji4YPs2BhovcV8GAXAwSscMWm76/2HQTEcqetEK/mapMhBppZRVQzZjq43bn9ihSU 9MVAvjEDQjN8hXP5MIGgzhUbaplvCNHb3c2Ntu45Hdlb+s0dDCawxpj34MYsicLWZH AINR5niZ1yIXS/x7iALrysA8toy/YGSBtMVzlX+s= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Edgar , Mark Brown , Sasha Levin Subject: [PATCH 4.14 020/186] ASoc: codecs: ES8316: Fix DMIC config Date: Wed, 20 Sep 2023 13:28:43 +0200 Message-ID: <20230920112837.610612182@linuxfoundation.org> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20230920112836.799946261@linuxfoundation.org> References: <20230920112836.799946261@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ 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 fad918c44ec97..75a6b8b4e9c09 100644 --- a/sound/soc/codecs/es8316.c +++ b/sound/soc/codecs/es8316.c @@ -145,7 +145,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