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 9A464E544 for ; Wed, 20 Sep 2023 12:09:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 20C76C433CC; Wed, 20 Sep 2023 12:09:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1695211758; bh=DFh1bDURl13wE+336vPj76cs3npnZ/wm64Z4E2XQhps=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ihePTQteUGHnZo5jFCeJbSopaAKpBWorUNt4TVAA/nDtlcKu3O8Z1dBcEITjtd0lu GZWRT7IBdh7vCtfQhXuKJ1QUZ+XzrFyNKMnHDfz1nILeXUpcrYJeL/kPuN9K4k4L80 JkSt8ydfTHRwJ0+sUo7uSfan5RvYFiaNqGwSDfYA= 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.19 024/273] ASoc: codecs: ES8316: Fix DMIC config Date: Wed, 20 Sep 2023 13:27:44 +0200 Message-ID: <20230920112847.176536477@linuxfoundation.org> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20230920112846.440597133@linuxfoundation.org> References: <20230920112846.440597133@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.19-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 834e542021fee..0fc4755fd0d9d 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