diff options
author | Michal Suchanek <hramrach@gmail.com> | 2016-05-06 03:31:55 +0300 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2016-06-02 03:23:02 +0300 |
commit | 26f9bcad29a6c240881bd4efc90f16a9990dd6c2 (patch) | |
tree | 957d294b0b1c4ec2e56f686a8e99837fe7d20216 /drivers/mtd/devices/m25p80.c | |
parent | e5d05cbd6d8b01f08c95c427a36c66aac769af4f (diff) | |
download | linux-26f9bcad29a6c240881bd4efc90f16a9990dd6c2.tar.xz |
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>
Diffstat (limited to 'drivers/mtd/devices/m25p80.c')
0 files changed, 0 insertions, 0 deletions