Skip to content

Commit 1a6c53b

Browse files
committed
ASoC: tegra: Fix ADX S24_LE audio format
JIRA: https://issues.redhat.com/browse/RHEL-80681 commit 3d6c9dd Author: Thorsten Blum <thorsten.blum@linux.dev> Date: Sat Feb 22 23:56:59 2025 +0100 ASoC: tegra: Fix ADX S24_LE audio format Commit 4204ecc ("ASoC: tegra: Add support for S24_LE audio format") added support for the S24_LE audio format, but duplicated S16_LE in OUT_DAI() for ADX instead. Fix this by adding support for the S24_LE audio format. Compile-tested only. Cc: stable@vger.kernel.org Fixes: 4204ecc ("ASoC: tegra: Add support for S24_LE audio format") Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Link: https://patch.msgid.link/20250222225700.539673-2-thorsten.blum@linux.dev Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Jaroslav Kysela <jkysela@redhat.com>
1 parent b20826b commit 1a6c53b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sound/soc/tegra/tegra210_adx.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ static const struct snd_soc_dai_ops tegra210_adx_out_dai_ops = {
264264
.rates = SNDRV_PCM_RATE_8000_192000, \
265265
.formats = SNDRV_PCM_FMTBIT_S8 | \
266266
SNDRV_PCM_FMTBIT_S16_LE | \
267-
SNDRV_PCM_FMTBIT_S16_LE | \
267+
SNDRV_PCM_FMTBIT_S24_LE | \
268268
SNDRV_PCM_FMTBIT_S32_LE, \
269269
}, \
270270
.capture = { \
@@ -274,7 +274,7 @@ static const struct snd_soc_dai_ops tegra210_adx_out_dai_ops = {
274274
.rates = SNDRV_PCM_RATE_8000_192000, \
275275
.formats = SNDRV_PCM_FMTBIT_S8 | \
276276
SNDRV_PCM_FMTBIT_S16_LE | \
277-
SNDRV_PCM_FMTBIT_S16_LE | \
277+
SNDRV_PCM_FMTBIT_S24_LE | \
278278
SNDRV_PCM_FMTBIT_S32_LE, \
279279
}, \
280280
.ops = &tegra210_adx_out_dai_ops, \

0 commit comments

Comments
 (0)