diff options
author | David Lechner <dlechner@baylibre.com> | 2024-01-27 01:00:23 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-02-05 17:35:44 +0300 |
commit | 2733092baa3e8a1f05fd16088808be17c98990b4 (patch) | |
tree | b17ec3ea00c6fd04015aad2f9fcefc7f7283e734 /drivers/spi/spi-axi-spi-engine.c | |
parent | c8bec3355f08ddb887d5c13b7095dfa79e6db108 (diff) | |
download | linux-2733092baa3e8a1f05fd16088808be17c98990b4.tar.xz |
spi: bcm2835: implement ctlr->max_transfer_size
The core SPI code will handle splitting transfers if needed as long
as ctlr->max_transfer_size is implemented. It does this in
__spi_pump_transfer_message() immediately before calling
ctlr->prepare_message. So effectively, this change does not
alter the behavior of the driver.
Also, several peripheral drivers make use of spi_max_transfer_size(),
so this should improve compatibility with those drivers.
Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://lore.kernel.org/r/20240126220024.3926403-2-dlechner@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-axi-spi-engine.c')
0 files changed, 0 insertions, 0 deletions