aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2019-09-19 03:16:52 -0400
committerMark Brown <broonie@kernel.org>2019-09-20 07:06:17 -0400
commit7b2db65b59c30d58c129d3c8b2101feca686155a (patch)
tree0c408e85f05107b16bbf3e98619e36302043bc80 /sound
parent7a5d9815cc010b055c2a99ccf418c4629365fa43 (diff)
ASoC: pcm3168a: The codec does not support S32_LE
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>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/pcm3168a.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/codecs/pcm3168a.c b/sound/soc/codecs/pcm3168a.c
index 50ed86d45c26..88b75695fbf7 100644
--- a/sound/soc/codecs/pcm3168a.c
+++ b/sound/soc/codecs/pcm3168a.c
@@ -21,8 +21,7 @@
21 21
22#define PCM3168A_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | \ 22#define PCM3168A_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | \
23 SNDRV_PCM_FMTBIT_S24_3LE | \ 23 SNDRV_PCM_FMTBIT_S24_3LE | \
24 SNDRV_PCM_FMTBIT_S24_LE | \ 24 SNDRV_PCM_FMTBIT_S24_LE)
25 SNDRV_PCM_FMTBIT_S32_LE)
26 25
27#define PCM3168A_FMT_I2S 0x0 26#define PCM3168A_FMT_I2S 0x0
28#define PCM3168A_FMT_LEFT_J 0x1 27#define PCM3168A_FMT_LEFT_J 0x1