]> git.hungrycats.org Git - linux/commitdiff
ASoC: pxa-ssp: drop SNDRV_PCM_FMTBIT_S24_LE
authorDaniel Mack <zonque@gmail.com>
Wed, 13 Aug 2014 19:51:06 +0000 (21:51 +0200)
committerJiri Slaby <jslaby@suse.cz>
Wed, 17 Sep 2014 14:55:08 +0000 (16:55 +0200)
commit 9301503af016eb537ccce76adec0c1bb5c84871e upstream.

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>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
sound/soc/pxa/pxa-ssp.c

index e4558e31a9eec8a2634b3001ffec748d4614d7f8..6c6b35e471c842ed4a1a3ec48db0e102794e7380 100644 (file)
@@ -767,9 +767,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,