]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
spi: spi-nxp-fspi: re-config the clock rate when operation require new clock rate
authorHaibo Chen <haibo.chen@nxp.com>
Mon, 22 Sep 2025 08:47:13 +0000 (16:47 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 13 Oct 2025 12:32:46 +0000 (13:32 +0100)
commita89103f67112453fa36c9513e951c19eed9d2d92
tree95591f8b367307d7198e63e50770f49fc1aca50d
parent4f38da1f027ea2c9f01bb71daa7a299c191b6940
spi: spi-nxp-fspi: re-config the clock rate when operation require new clock rate

Current operation contain the max_freq, so new coming operation may use
new clock rate, need to re-config the clock rate to match the requirement.

Fixes: 26851cf65ffc ("spi: nxp-fspi: Support per spi-mem operation frequency switches")
Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Link: https://patch.msgid.link/20250922-fspi-fix-v1-1-ff4315359d31@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-nxp-fspi.c