aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorStefan Wahren <wahrenst@gmx.net>2025-08-07 12:07:42 +0200
committerMark Brown <broonie@kernel.org>2025-08-07 14:46:32 +0100
commitaf357a6a3b7d685e7aa621c6fb1d4ed6c349ec9e (patch)
tree7cfc1ec6397c481f76dca885163a462cdc86894f /tools/perf/scripts/python
parentspi: spi-mem: add spi_mem_adjust_op_freq() in spi_mem_supports_op() (diff)
downloadwireguard-linux-af357a6a3b7d685e7aa621c6fb1d4ed6c349ec9e.tar.xz
wireguard-linux-af357a6a3b7d685e7aa621c6fb1d4ed6c349ec9e.zip
spi: spi-fsl-lpspi: Clamp too high speed_hz
Currently the driver is not able to handle the case that a SPI device specifies a higher spi-max-frequency than half of per-clk: per-clk should be at least two times of transfer speed Fix this by clamping to the max possible value and use the minimum SCK period of 2 cycles. Fixes: 77736a98b859 ("spi: lpspi: add the error info of transfer speed setting") Signed-off-by: Stefan Wahren <wahrenst@gmx.net> Link: https://patch.msgid.link/20250807100742.9917-1-wahrenst@gmx.net Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions