diff options
author | Vincent Whitchurch <vincent.whitchurch@axis.com> | 2022-09-27 14:21:16 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-09-28 14:54:06 +0300 |
commit | 8d699ff95534747e394e0830399b8d5dcf03e738 (patch) | |
tree | fa20b66163c5e3fe362c7b7a154556ee818fa2d4 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 0c17ba73c08ff2690c1eff8df374b6709eed55ce (diff) | |
download | linux-8d699ff95534747e394e0830399b8d5dcf03e738.tar.xz |
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 <vincent.whitchurch@axis.com>
Link: https://lore.kernel.org/r/20220927112117.77599-4-vincent.whitchurch@axis.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions