summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorRyan Lee <ryans.lee@analog.com>2023-06-01 15:05:59 +0200
committerMark Brown <broonie@kernel.org>2023-06-01 15:11:49 +0200
commit0e2ee345856454632dcd2f3ee2ba4bb3f8632f74 (patch)
treee48e3f988ff2dc617388aa9f43ef1173297837aa /sound
parentASoC: amd: yc: Add Thinkpad Neo14 to quirks list for acp6x (diff)
downloadlinux-0e2ee345856454632dcd2f3ee2ba4bb3f8632f74.tar.xz
linux-0e2ee345856454632dcd2f3ee2ba4bb3f8632f74.zip
ASoC: max98363: Removed 32bit support
MAX98363 does not support 32bit depth audio. Removed 32bit from the supported format list. Instead, added 16bit and 24bit to the list. Signed-off-by: Ryan Lee <ryans.lee@analog.com> Link: https://lore.kernel.org/r/20230601130600.25344-1-ryan.lee.analog@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/max98363.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/max98363.c b/sound/soc/codecs/max98363.c
index dcce06bff756..53e19c8abb40 100644
--- a/sound/soc/codecs/max98363.c
+++ b/sound/soc/codecs/max98363.c
@@ -211,7 +211,7 @@ static int max98363_io_init(struct sdw_slave *slave)
}
#define MAX98363_RATES SNDRV_PCM_RATE_8000_192000
-#define MAX98363_FORMATS (SNDRV_PCM_FMTBIT_S32_LE)
+#define MAX98363_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE)
static int max98363_sdw_dai_hw_params(struct snd_pcm_substream *substream,
struct snd_pcm_hw_params *params,