Skip to content

Commit 00a1aca

Browse files
lkundrakbroonie
authored andcommitted
ASoC: mmp-sspa: Flip SNDRV_PCM_FMTBIT_S24_3LE on
The hw_params() callback handles the 3-byte format, not SNDRV_PCM_FMTBIT_S24_LE. Signed-off-by: Lubomir Rintel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 6c47660 commit 00a1aca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/soc/pxa/mmp-sspa.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ static int mmp_sspa_probe(struct snd_soc_dai *dai)
362362
#define MMP_SSPA_RATES SNDRV_PCM_RATE_8000_192000
363363
#define MMP_SSPA_FORMATS (SNDRV_PCM_FMTBIT_S8 | \
364364
SNDRV_PCM_FMTBIT_S16_LE | \
365-
SNDRV_PCM_FMTBIT_S24_LE | \
365+
SNDRV_PCM_FMTBIT_S24_3LE | \
366366
SNDRV_PCM_FMTBIT_S32_LE)
367367

368368
static const struct snd_soc_dai_ops mmp_sspa_dai_ops = {

0 commit comments

Comments
 (0)