From: Daniel Mack Date: Wed, 13 Aug 2014 19:51:06 +0000 (+0200) Subject: ASoC: pxa-ssp: drop SNDRV_PCM_FMTBIT_S24_LE X-Git-Tag: v3.17-rc2~18^2~4^2^7 X-Git-Url: http://git.cascardo.eti.br/?a=commitdiff_plain;h=9301503af016eb537ccce76adec0c1bb5c84871e;p=cascardo%2Flinux.git 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 Reported-by: Johannes Stezenbach Signed-off-by: Mark Brown Cc: stable@vger.kernel.org --- diff --git a/sound/soc/pxa/pxa-ssp.c b/sound/soc/pxa/pxa-ssp.c index 0109f6c2334e..a8e097433074 100644 --- a/sound/soc/pxa/pxa-ssp.c +++ b/sound/soc/pxa/pxa-ssp.c @@ -765,9 +765,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,