summaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorOlivier Moysan <olivier.moysan@foss.st.com>2025-04-30 18:52:09 +0200
committerMark Brown <broonie@kernel.org>2025-05-01 08:06:43 +0900
commitcce34d113e2a592806abcdc02c7f8513775d8b20 (patch)
treeef3b4d744f2a52f5e4db26afafa2a27c6a850bf1 /scripts/generate_rust_analyzer.py
parentedea92770a3b6454dc796fc5436a3315bb402181 (diff)
downloadlinux-cce34d113e2a592806abcdc02c7f8513775d8b20.tar.gz
linux-cce34d113e2a592806abcdc02c7f8513775d8b20.tar.bz2
linux-cce34d113e2a592806abcdc02c7f8513775d8b20.zip
ASoC: stm32: sai: add a check on minimal kernel frequency
On MP2 SoCs SAI kernel clock rate is managed through stm32_sai_set_parent_rate() function. If the kernel clock rate was set previously to a low frequency, this frequency may be too low to support the newly requested audio stream rate. However the stm32_sai_rate_accurate() will only check accuracy against the maximum kernel clock rate. The function will return leaving the kernel clock rate unchanged. Add a check on minimal frequency requirement, to avoid this. Fixes: 2cfe1ff22555 ("ASoC: stm32: sai: add stm32mp25 support") Signed-off-by: Olivier Moysan <olivier.moysan@foss.st.com> Link: https://patch.msgid.link/20250430165210.321273-3-olivier.moysan@foss.st.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions