Skip to content

Commit 3d6c9dd

Browse files
tobluxbroonie
authored andcommitted
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: [email protected] Fixes: 4204ecc ("ASoC: tegra: Add support for S24_LE audio format") Signed-off-by: Thorsten Blum <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent d776f01 commit 3d6c9dd

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)