mirror of
https://abf.rosa.ru/djam/kernel-6.6.git
synced 2025-02-24 11:22:47 +00:00
32 lines
1.2 KiB
Diff
32 lines
1.2 KiB
Diff
From a08bd630b270e973a3d8d754868f86d1b45c65e6 Mon Sep 17 00:00:00 2001
|
|
From: Marian Postevca <posteuca@mutex.one>
|
|
Date: Wed, 30 Aug 2023 01:01:12 +0300
|
|
Subject: [PATCH 404/415] ASoC: es8316: Enable support for S32 LE format
|
|
|
|
This CODEC does support the S32 LE format in es8316_pcm_hw_params(),
|
|
but doesn't have it enabled in ES8316_FORMATS. Enable it so that we
|
|
have more options to match with components.
|
|
|
|
Signed-off-by: Marian Postevca <posteuca@mutex.one>
|
|
Link: https://lore.kernel.org/r/20230829220116.1159-2-posteuca@mutex.one
|
|
Signed-off-by: Mark Brown <broonie@kernel.org>
|
|
---
|
|
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,
|
|
--
|
|
2.40.1
|
|
|