Michal Suchanek 26f9bcad29 mtd: spi-nor: add read loop
mtdblock and ubi do not handle the situation when read returns less data
than requested. Loop in spi-nor until buffer is filled or an error is
returned.

Signed-off-by: Michal Suchanek <hramrach@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Tested-by Cyrille Pitchen <cyrille.pitchen@atmel.com>
Acked-by: Michal Suchanek <hramrach@gmail.com>
Tested-by: Michal Suchanek <hramrach@gmail.com>
2016-06-01 17:23:02 -07:00
..
2016-05-24 11:00:20 -07:00
2016-05-27 14:17:15 -07:00
2016-06-01 17:23:02 -07:00
2016-03-24 19:57:15 -07:00
2014-04-14 11:23:01 -07:00
2016-05-05 23:51:51 +02:00
2016-05-05 23:51:51 +02:00
2014-03-10 22:42:25 -07:00
2016-04-18 11:23:24 +02:00