Explorar o código

ASoC: pxa: remove duplicated bit-wise or of SNDRV_PCM_FMTBIT_S24_LE

Bit pattern SNDRV_PCM_FMTBIT_S24_LE is being bit-wise or'd twice; remove
the redundant 2nd SNDRV_PCM_FMTBIT_S24_LE

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Colin Ian King %!s(int64=7) %!d(string=hai) anos
pai
achega
8b597ff470
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      sound/soc/pxa/mmp-sspa.c

+ 0 - 1
sound/soc/pxa/mmp-sspa.c

@@ -377,7 +377,6 @@ static int mmp_sspa_probe(struct snd_soc_dai *dai)
 #define MMP_SSPA_FORMATS (SNDRV_PCM_FMTBIT_S8 | \
 #define MMP_SSPA_FORMATS (SNDRV_PCM_FMTBIT_S8 | \
 		SNDRV_PCM_FMTBIT_S16_LE | \
 		SNDRV_PCM_FMTBIT_S16_LE | \
 		SNDRV_PCM_FMTBIT_S24_LE | \
 		SNDRV_PCM_FMTBIT_S24_LE | \
-		SNDRV_PCM_FMTBIT_S24_LE | \
 		SNDRV_PCM_FMTBIT_S32_LE)
 		SNDRV_PCM_FMTBIT_S32_LE)
 
 
 static const struct snd_soc_dai_ops mmp_sspa_dai_ops = {
 static const struct snd_soc_dai_ops mmp_sspa_dai_ops = {