mtd: m25p80: read in spi_max_transfer_size chunks
authorMichal Suchanek <hramrach@gmail.com>
Fri, 6 May 2016 00:31:56 +0000 (17:31 -0700)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 2 Jun 2016 00:23:06 +0000 (17:23 -0700)
commit95193796256cfce16e5d881318e15b6b04062c15
treea9b87f3d12a58b40e56d148eddf71eecaf70c422
parent26f9bcad29a6c240881bd4efc90f16a9990dd6c2
mtd: m25p80: read in spi_max_transfer_size chunks

Take into account transfer size limitation of SPI master.

Signed-off-by: Michal Suchanek <hramrach@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Acked-by: Michal Suchanek <hramrach@gmail.com>
Tested-by: Michal Suchanek <hramrach@gmail.com>
drivers/mtd/devices/m25p80.c