[PATCH 0/2] mtd: m25p80: make use of recently introduced max_transfer_size in SPI core
Heiner Kallweit
hkallweit1 at gmail.com
Sat Feb 27 14:47:57 PST 2016
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(-)
--
2.7.1
More information about the linux-mtd
mailing list