diff options
author | Stanislaw Gruszka <[email protected]> | 2011-01-08 15:24:37 +0100 |
---|---|---|
committer | David Woodhouse <[email protected]> | 2011-03-11 14:19:09 +0000 |
commit | 82013d988fc03a1b908b2b0360a1e34f6152fda6 (patch) | |
tree | 4fa9c93ef0846848576f115baa5bf5c95728e9a4 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | ecf3fde07c8dcb92a1bf3fbdfe70905d85cd00e1 (diff) |
mtd: amd76xrom: fix oops at boot when resources are not available
For some unknown reasons resources needed by amd76xrom driver can be
unavailable. And instead of returning an error, the driver keeps going
and crash the kernel. This patch fixes the problem by making the driver
return -EBUSY if the resources are not available.
Commit messages tweaked by Artem.
Reported-by: Russell Whitaker <[email protected]>
Signed-off-by: Stanislaw Gruszka <[email protected]>
Signed-off-by: Artem Bityutskiy <[email protected]>
Signed-off-by: David Woodhouse <[email protected]>
Cc: [email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions