diff options
author | Nam Cao <[email protected]> | 2023-11-29 17:31:55 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-11-30 12:02:39 +0000 |
commit | 39cefd85098d12439586824c39f8e1948fac186d (patch) | |
tree | 855cefc78774e7b78d495ac9ffb7671286a65bc4 /scripts/generate_rust_analyzer.py | |
parent | 2cc14f52aeb78ce3f29677c2de1f06c0e91471ab (diff) |
spi: introduce SPI_TRANS_FAIL_IO for error reporting
The default message transfer implementation - spi_transfer_one_message -
invokes the specific device driver's transfer_one(), then waits for
completion. However, there is no mechanism for the device driver to
report failure in the middle of the transfer.
Introduce SPI_TRANS_FAIL_IO for drivers to report transfer failure.
Signed-off-by: Nam Cao <[email protected]>
Acked-by: Linus Walleij <[email protected]>
Link: https://lore.kernel.org/r/4b420dac528e60f122adde16851da88e4798c1ea.1701274975.git.namcao@linutronix.de
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions