Skip to content

Commit 0e2ee34

Browse files
Ryan Leebroonie
authored andcommitted
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>
1 parent 57d1e89 commit 0e2ee34

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sound/soc/codecs/max98363.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ static int max98363_io_init(struct sdw_slave *slave)
211211
}
212212

213213
#define MAX98363_RATES SNDRV_PCM_RATE_8000_192000
214-
#define MAX98363_FORMATS (SNDRV_PCM_FMTBIT_S32_LE)
214+
#define MAX98363_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE)
215215

216216
static int max98363_sdw_dai_hw_params(struct snd_pcm_substream *substream,
217217
struct snd_pcm_hw_params *params,

0 commit comments

Comments
 (0)