diff options
| author | Changhuang Liang <changhuang.liang@starfivetech.com> | 2026-09-30 00:15:33 -0700 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-09-30 17:38:48 +0100 |
| commit | 5c99cb15169d6336c446d079f803e1b13916960f (patch) | |
| tree | c7dc6b63906fd2d39c7a2e2ea70a765f1ae51bd4 /scripts/Makefile.thinlto | |
| parent | 72d3fcf802c45d00b300f25b848a93c3a2bd7c7e (diff) | |
| download | linux-5c99cb15169d6336c446d079f803e1b13916960f.tar.gz linux-5c99cb15169d6336c446d079f803e1b13916960f.zip | |
spi: dw: Convert the Tx done delay from SCK cycles to time
Currently the delay in dw_spi_dma_wait_tx_done() is expressed in SCK
cycles, which requires passing a valid struct spi_transfer pointer.
This does not work for enhanced SPI memory operations, which are not
described by a spi_transfer. Compute the delay in ns or us based on an
explicit bus speed instead, so that the helper can also be used for
those transfers.
Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
Link: https://patch.msgid.link/20260930071535.7947-2-changhuang.liang@starfivetech.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
