diff options
| author | Axel Lin <[email protected]> | 2012-11-16 17:09:22 +0800 |
|---|---|---|
| committer | Anton Vorontsov <[email protected]> | 2012-11-16 01:46:42 -0800 |
| commit | a5af092245a33965a4b089e8ba489c2db0f7db16 (patch) | |
| tree | 11cf8e6b361616298cf42a0d8f31efa6eaab6dc3 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
| parent | 77b67063bb6bce6d475e910d3b886a606d0d91f7 (diff) | |
generic-adc-battery: Fix checking return value of request_any_context_irq
On failure, request_any_context_irq() returns a negative value. On
success, it returns either IRQC_IS_HARDIRQ or IRQC_IS_NESTED.
Signed-off-by: Axel Lin <[email protected]>
Signed-off-by: Anton Vorontsov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions