diff options
author | Vincent Whitchurch <vincent.whitchurch@axis.com> | 2022-09-27 14:21:17 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-09-28 14:54:07 +0300 |
commit | 1224e29572f655facfcd850cf0f0a4784f36a903 (patch) | |
tree | 952baf3beff982f301d685a0e3e1d5e63e3a0b94 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
parent | 8d699ff95534747e394e0830399b8d5dcf03e738 (diff) | |
download | linux-1224e29572f655facfcd850cf0f0a4784f36a903.tar.xz |
spi: s3c64xx: Fix large transfers with DMA
The COUNT_VALUE in the PACKET_CNT register is 16-bit so the maximum
value is 65535. Asking the driver to transfer a larger size currently
leads to the DMA transfer timing out. Implement ->max_transfer_size()
and have the core split the transfer as needed.
Fixes: 230d42d422e7 ("spi: Add s3c64xx SPI Controller driver")
Signed-off-by: Vincent Whitchurch <vincent.whitchurch@axis.com>
Link: https://lore.kernel.org/r/20220927112117.77599-5-vincent.whitchurch@axis.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions