diff options
author | Anton Vorontsov <[email protected]> | 2010-06-22 20:57:42 +0400 |
---|---|---|
committer | David Woodhouse <[email protected]> | 2010-08-04 10:58:24 +0100 |
commit | 9d2c4f3fe50a6d07275de91b392aaaf4773bc8b6 (patch) | |
tree | 64e1ed26300e4bfdfc5406de2dd7097fc2a4198d /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | f7b000904a848b64c36e3b4d0715744aaf345767 (diff) |
mtd: m25p80: Make jedec_probe() return proper errno values
spi_write_then_read() may return its own return codes (e.g. -EIO),
so let's propagate the value down to the probe().
Also, remove jedec == 0 check, it isn't needed as nowadays we use
dedicated SPI device IDs for non-JEDEC flashes.
Suggested-by: Barry Song <[email protected]>
Signed-off-by: Anton Vorontsov <[email protected]>
Acked-by: Mike Frysinger <[email protected]>
Signed-off-by: Artem Bityutskiy <[email protected]>
Signed-off-by: David Woodhouse <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions