diff options
author | Axel Lin <axel.lin@ingics.com> | 2012-11-16 10:09:22 +0100 |
---|---|---|
committer | Anton Vorontsov <anton.vorontsov@linaro.org> | 2012-11-16 10:46:42 +0100 |
commit | a5af092245a33965a4b089e8ba489c2db0f7db16 (patch) | |
tree | 11cf8e6b361616298cf42a0d8f31efa6eaab6dc3 /crypto/xor.c | |
parent | Linux 3.7-rc5 (diff) | |
download | linux-a5af092245a33965a4b089e8ba489c2db0f7db16.tar.xz linux-a5af092245a33965a4b089e8ba489c2db0f7db16.zip |
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 <axel.lin@ingics.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Diffstat (limited to 'crypto/xor.c')
0 files changed, 0 insertions, 0 deletions