]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ASoC: pxa: remove duplicated bit-wise or of SNDRV_PCM_FMTBIT_S24_LE
authorColin Ian King <colin.king@canonical.com>
Fri, 23 Feb 2018 14:37:38 +0000 (14:37 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 26 Feb 2018 10:19:31 +0000 (10:19 +0000)
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>
sound/soc/pxa/mmp-sspa.c

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