From patchwork Thu Aug 24 21:01:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marian Postevca X-Patchwork-Id: 13364716 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 99D77C3DA6F for ; Thu, 24 Aug 2023 21:03:42 +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 3DBF684A; Thu, 24 Aug 2023 23:02:50 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 3DBF684A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1692911020; bh=Tm63Mvp1jvDf3sJhV/8zUpCX7xgXcTbDK1PgG6byMck=; 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=IUjAPS1NyCE/VKXiQIc+eWSfwtcThvHBCvAry4ZBiEDOzPnGkytQJMskmVJkaAAHy Q4yERWbxIdneIGcQEOSftHcKbySNVW24x8sws9Tg6oG9eFosqxdXGCo/T0Ck4pHbvB d0vnEItvRHnOK6pCC5thZnXl0FTIVWK6fKriIOcQ= Received: by alsa1.perex.cz (Postfix, from userid 50401) id C733DF8055C; Thu, 24 Aug 2023 23:02:00 +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 54138F800F5; Thu, 24 Aug 2023 23:02:00 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 70FE0F8025F; Thu, 24 Aug 2023 23:01:55 +0200 (CEST) Received: from mail.mutex.one (mail.mutex.one [62.77.152.124]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id C5E54F800F5 for ; Thu, 24 Aug 2023 23:01:41 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz C5E54F800F5 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key, unprotected) header.d=mutex.one header.i=@mutex.one header.a=rsa-sha256 header.s=default header.b=k9+JsulQ Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.mutex.one (Postfix) with ESMTP id 939F616C0047; Fri, 25 Aug 2023 00:01:40 +0300 (EEST) X-Virus-Scanned: Debian amavisd-new at mail.mutex.one Received: from mail.mutex.one ([127.0.0.1]) by localhost (mail.mutex.one [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DwQrudmliFeG; Fri, 25 Aug 2023 00:01:39 +0300 (EEST) From: Marian Postevca DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mutex.one; s=default; t=1692910899; bh=Tm63Mvp1jvDf3sJhV/8zUpCX7xgXcTbDK1PgG6byMck=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=k9+JsulQYF8QcuNC0in5P0Mz+GgGOdKYcq8yrJZYhAuZMdh8S4CRo63VTEqYX+AfR 3TbWd7CQjRgOO+nTn6EDl4svzq1qV98E9P7bpU6/tlm08jG97FMJ03HCrSQxWzsU41 fEd6cL9O5fcojj8UsWzFf7m6VUjtD+VgCElUtUKU= To: Takashi Iwai , Liam Girdwood , Mark Brown , Jaroslav Kysela Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Marian Postevca Subject: [PATCH v2 1/4] ASoC: es8316: Enable support for S32 LE format Date: Fri, 25 Aug 2023 00:01:32 +0300 Message-ID: <20230824210135.19303-2-posteuca@mutex.one> In-Reply-To: <20230824210135.19303-1-posteuca@mutex.one> References: <20230824210135.19303-1-posteuca@mutex.one> MIME-Version: 1.0 Message-ID-Hash: YJ4CWOHZ2HO43UASRDPWMCVISIJZCXII X-Message-ID-Hash: YJ4CWOHZ2HO43UASRDPWMCVISIJZCXII X-MailFrom: posteuca@mutex.one 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: To properly support a line of Huawei laptops with AMD CPU and a ES8336 codec connected to the ACP3X module we need to enable the S32 LE format. Signed-off-by: Marian Postevca --- 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 a8f347f1affb..09fc0b25f600 100644 --- a/sound/soc/codecs/es8316.c +++ b/sound/soc/codecs/es8316.c @@ -526,7 +526,7 @@ static int es8316_mute(struct snd_soc_dai *dai, int mute, int direction) } #define ES8316_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE | \ - SNDRV_PCM_FMTBIT_S24_LE) + SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE) static const struct snd_soc_dai_ops es8316_ops = { .startup = es8316_pcm_startup,