]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
spi-geni-qcom: don't set max clock in setup_fifo_params
authorJonathan Marek <jonathan@marek.ca>
Thu, 20 Nov 2025 21:11:59 +0000 (16:11 -0500)
committerMark Brown <broonie@kernel.org>
Sun, 14 Dec 2025 10:39:23 +0000 (19:39 +0900)
commit7ba2e0edb18b3ccee7339315be47080832a3c355
treed65e6d56b4b523fb44ed0d613318186a4273ffc5
parentb99181cdf9fa0247dda3ba1228b4578286ab7ecd
spi-geni-qcom: don't set max clock in setup_fifo_params

setup_se_xfer() already sets the correct clock (xfer->speed_hz). Setting
the clock to max_speed_hz here makes the driver change the clock rate
between speed_hz and max_speed_hz for every message (if not equal),
slowing it down significantly.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Link: https://patch.msgid.link/20251120211204.24078-2-jonathan@marek.ca
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-geni-qcom.c