mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 00:22:00 +02:00
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>
This commit is contained in:
parent
b99181cdf9
commit
7ba2e0edb1
|
|
@ -379,7 +379,7 @@ static int setup_fifo_params(struct spi_device *spi_slv,
|
|||
mas->last_mode = spi_slv->mode;
|
||||
}
|
||||
|
||||
return geni_spi_set_clock_and_bw(mas, spi_slv->max_speed_hz);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user