aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorMichal Suchanek <[email protected]>2016-05-05 17:31:54 -0700
committerBrian Norris <[email protected]>2016-06-01 17:22:57 -0700
commite5d05cbd6d8b01f08c95c427a36c66aac769af4f (patch)
tree1f7a9f10bbbf61fc2c6d64adddc0a12072e31bae /tools/perf/scripts/python/bin
parent2dd087b16946cf168f401526adf26afa771bb740 (diff)
mtd: spi-nor: simplify write loop
The spi-nor write loop assumes that what is passed to the hardware driver write() is what gets written. When write() writes less than page size at once data is dropped on the floor. Check the amount of data writen and exit if it does not match requested amount. Signed-off-by: Michal Suchanek <[email protected]> Signed-off-by: Brian Norris <[email protected]> Tested-by Cyrille Pitchen <[email protected]> Acked-by: Michal Suchanek <[email protected]> Tested-by: Michal Suchanek <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions