commit | 1992297b0810a42d78ec7b4de15304eb0489fd97 | [log] [tgz] |
---|---|---|
author | Michal Suchanek <hramrach@gmail.com> | Thu May 05 17:31:48 2016 -0700 |
committer | Brian Norris <computersforpeace@gmail.com> | Wed Jun 01 17:22:37 2016 -0700 |
tree | 6323c58c98f20094c182e5457a5a967ce8b90852 | |
parent | 59451e1233bd315c5379a631838a03d80e689581 [diff] |
mtd: m25p80: return amount of data transferred or error in read/write Add checking of SPI transfer errors and return them from read/write functions. Also return the amount of data transferred. 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>