ASoC: pcm3168a: The codec does not support S32_LE
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 19 Sep 2019 07:16:52 +0000 (10:16 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 20 Sep 2019 11:06:17 +0000 (12:06 +0100)
24 bits is supported in all modes and 16 bit only when the codec is slave
and the DAI is set to RIGHT_J.

Remove the unsupported sample format.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Link: https://lore.kernel.org/r/20190919071652.31724-1-peter.ujfalusi@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/pcm3168a.c

index 50ed86d45c26fd390feb5f11ec2044288cfeb7ad..88b75695fbf7f582a46d837877d9522a385b61c4 100644 (file)
@@ -21,8 +21,7 @@
 
 #define PCM3168A_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | \
                         SNDRV_PCM_FMTBIT_S24_3LE | \
-                        SNDRV_PCM_FMTBIT_S24_LE | \
-                        SNDRV_PCM_FMTBIT_S32_LE)
+                        SNDRV_PCM_FMTBIT_S24_LE)
 
 #define PCM3168A_FMT_I2S               0x0
 #define PCM3168A_FMT_LEFT_J            0x1