ASoC: pxa-ssp: drop SNDRV_PCM_FMTBIT_S24_LE
Subsystems (3)
PATCH 1/1 ASoC: pxa-ssp: drop SNDRV_PCM_FMTBIT_S24_LE
This mode is unsupported, as the DMA controller can't do zero-padding of samples.
Signed-off-by Daniel Mack <[email protected]>
Reported-by Johannes Stezenbach <[email protected]>
Cc Eric Miao <[email protected]>
Cc Mark Brown <[email protected]>
--- sound/soc/pxa/pxa-ssp.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
sound/soc/pxa/pxa-ssp.c +1 -3
@@ -764,9 +764,7 @@ static int pxa_ssp_remove(struct snd_soc_dai *dai) SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_64000 | \ SNDRV_PCM_RATE_88200 | SNDRV_PCM_RATE_96000) -#define PXA_SSP_FORMATS (SNDRV_PCM_FMTBIT_S16_LE |\ - SNDRV_PCM_FMTBIT_S24_LE | \ - SNDRV_PCM_FMTBIT_S32_LE) +#define PXA_SSP_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S32_LE)static const struct snd_soc_dai_ops pxa_ssp_dai_ops = { .startup = pxa_ssp_startup,
Signature · 1 line
2.0.4
Quoted 2 lines · Daniel Mack
This mode is unsupported, as the DMA controller can't do zero-padding of samples.
Applied, thanks.