aboutsummaryrefslogtreecommitdiffstats
path: root/lib/fault-inject.c
diff options
context:
space:
mode:
authorVincent Whitchurch <[email protected]>2022-09-27 11:21:16 +0000
committerMark Brown <[email protected]>2022-09-28 11:54:06 +0000
commit8d699ff95534747e394e0830399b8d5dcf03e738 (patch)
treefa20b66163c5e3fe362c7b7a154556ee818fa2d4 /lib/fault-inject.c
parentspi: Fix cache corruption due to DMA/PIO overlap (diff)
downloadkernel-8d699ff95534747e394e0830399b8d5dcf03e738.tar.gz
kernel-8d699ff95534747e394e0830399b8d5dcf03e738.zip
spi: Split transfers larger than max size
A couple of drivers call spi_split_transfers_maxsize() from their ->prepare_message() callbacks to split transfers which are too big for them to handle. Add support in the core to do this based on ->max_transfer_size() to avoid code duplication. Signed-off-by: Vincent Whitchurch <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions