From: Vladimir Oltean <vladimir.oltean@xxxxxxx> These 2 patches make it possible for a SPI device driver which uses large transfer sizes (256 bytes) to limit itself to the maximum length supported by the spi-sc18is602 hardware. Tested with 200 byte buffers on the SC18IS602B. Vladimir Oltean (2): spi: sc18is602: don't consider the chip select byte in sc18is602_check_transfer spi: sc18is602: implement .max_{transfer,message}_size() for the controller drivers/spi/spi-sc18is602.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) -- 2.25.1