diff options
author | Atsushi Nemoto <[email protected]> | 2022-05-19 08:46:04 +0900 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-06-06 12:41:36 +0100 |
commit | 8d0b512844fdee83b6299647aa178828a4ebfc3b (patch) | |
tree | 14972e0e17ca64aa4dc3a042c654a1f7a33f753f /net/lapb/lapb_out.c | |
parent | 6598b91b5ac32bc756d7c3000a31f775d4ead1c4 (diff) |
spi: spi-ti-qspi: Support per-transfer and per-slave speed_hz settings
The spi-ti-qspi driver initializes its spi clock by the
spi-max-frequency property from the controller node, and ignores
per-transfer (and per-slave) speed_hz settings.
Isolate clock settings out from ti_qspi_setup() and call it from
ti_qspi_start_transfer_one() and ti_qspi_exec_mem_op(), using
per-transfer speed_hz and per-slave max_speed_hz settings.
Also drop spi_max_frequency from struct ti_qspi and use spi_master's
max_speed_hz.
Signed-off-by: Atsushi Nemoto <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions