Commit 9301503af016eb537ccce76adec0c1bb5c84871e

Authored by Daniel Mack
Committed by Mark Brown
1 parent ae34a78c43

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 <zonque@gmail.com>
Reported-by: Johannes Stezenbach <js@sig21.net>
Signed-off-by: Mark Brown <broonie@linaro.org>
Cc: stable@vger.kernel.org

Showing 1 changed file with 1 additions and 3 deletions Side-by-side Diff

sound/soc/pxa/pxa-ssp.c
... ... @@ -765,9 +765,7 @@
765 765 SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_64000 | \
766 766 SNDRV_PCM_RATE_88200 | SNDRV_PCM_RATE_96000)
767 767  
768   -#define PXA_SSP_FORMATS (SNDRV_PCM_FMTBIT_S16_LE |\
769   - SNDRV_PCM_FMTBIT_S24_LE | \
770   - SNDRV_PCM_FMTBIT_S32_LE)
  768 +#define PXA_SSP_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S32_LE)
771 769  
772 770 static const struct snd_soc_dai_ops pxa_ssp_dai_ops = {
773 771 .startup = pxa_ssp_startup,