diff options
author | 2023-06-23 01:31:11 +0100 | |
---|---|---|
committer | 2023-06-23 01:31:11 +0100 | |
commit | a77541cab0be8c8a68f70cdeb68359fbe15e4612 (patch) | |
tree | 369476450a9fda7456f764e2be68035f6c8fced8 /scripts/generate_rust_analyzer.py | |
parent | spi: dt-bindings: stm32: do not disable spi-slave property for stm32f4-f7 (diff) | |
parent | spi: sun6i: Use the new helper to derive the xfer timeout value (diff) | |
download | wireguard-linux-a77541cab0be8c8a68f70cdeb68359fbe15e4612.tar.xz wireguard-linux-a77541cab0be8c8a68f70cdeb68359fbe15e4612.zip |
spi: Helper for deriving timeout values
Merge series from Miquel Raynal <miquel.raynal@bootlin.com>:
I recently came across an issue with the Atmel spi controller driver
which would stop my transfers after a too small timeout when performing
big transfers (reading a 4MiB flash in one transfer). My initial idea
was to derive a the maximum amount of time a transfer would take
depending on its size and use that as value to avoid erroring-out when
not relevant. Mark wanted to go further by creating a core helper doing
that, based on the heuristics from the sun6i driver.
Here is a small series of 3 patches doing exactly that.
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions