From: Olivier Moysan Date: Thu, 14 Nov 2024 10:28:51 +0000 (+0100) Subject: ASoC: stm32: dfsdm: change rate upper limits X-Git-Tag: v6.13-rc1~123^2~2^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ba888450828befb0607219f34c03aa8645625447;p=thirdparty%2Fkernel%2Flinux.git ASoC: stm32: dfsdm: change rate upper limits Increase rate upper limit to 192kHz to reflect the rate range actually supported by the STM32 DFSDM peripheral. Signed-off-by: Olivier Moysan Link: https://patch.msgid.link/20241114102851.2497942-1-olivier.moysan@foss.st.com Signed-off-by: Mark Brown --- diff --git a/sound/soc/stm/stm32_adfsdm.c b/sound/soc/stm/stm32_adfsdm.c index 78bd817af839e..c914d1c468501 100644 --- a/sound/soc/stm/stm32_adfsdm.c +++ b/sound/soc/stm/stm32_adfsdm.c @@ -142,7 +142,7 @@ static const struct snd_soc_dai_driver stm32_adfsdm_dai = { SNDRV_PCM_FMTBIT_S32_LE, .rates = SNDRV_PCM_RATE_CONTINUOUS, .rate_min = 8000, - .rate_max = 48000, + .rate_max = 192000, }, .ops = &stm32_adfsdm_dai_ops, };