mtd: m25p80: make use of recently introduced max_transfer_size in SPI core
cover mtd: m25p80: make use of recently introduced max_transfer_size in SPI core
Some time ago there was a discussion about enabling m25p80_read to read in chunks due to controller transfer size limits. Related patches have been proposed but it seems like they got lost on the way.
This is a new attempt to add reading in chunks if the transfer size exceeds the controller limit exposed via spi_max_transfer_size().
Heiner Kallweit (2):
mtd: m25p80: fix retlen usage in m25p80_read and propagate errors
mtd: m25p80: consider max_transfer_size when reading
drivers/mtd/devices/m25p80.c | 43 ++++++++++++++++++++++++++++++++++++------- 1 file changed, 36 insertions(+), 7 deletions(-)
Signature · 1 line
2.7.1