diff options
author | Michal Suchanek <hramrach@gmail.com> | 2016-05-05 17:31:55 -0700 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2016-06-01 17:23:02 -0700 |
commit | 26f9bcad29a6c240881bd4efc90f16a9990dd6c2 (patch) | |
tree | 957d294b0b1c4ec2e56f686a8e99837fe7d20216 /drivers/scsi/gdth_ioctl.h | |
parent | e5d05cbd6d8b01f08c95c427a36c66aac769af4f (diff) |
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/scsi/gdth_ioctl.h')
0 files changed, 0 insertions, 0 deletions