diff options
| author | Axel Lin <[email protected]> | 2012-10-02 09:14:59 +0900 |
|---|---|---|
| committer | MyungJoo Ham <[email protected]> | 2012-10-23 16:32:13 +0900 |
| commit | 03019759b98de92b5507c8c2f6e253a35d59c868 (patch) | |
| tree | 3e5bd7a7793ce222536b93e56c94f5c5191b3fbb /kernel/locking/rtmutex-debug.c | |
| parent | 5cd3c277ebc64e4bc30c5eb6412edd43b5730a4f (diff) | |
extcon: adc-jack: 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.
Also ensure adc_jack_probe() return 0 on success.
Signed-off-by: Axel Lin <[email protected]>
Signed-off-by: Chanwoo Choi <[email protected]>
Diffstat (limited to 'kernel/locking/rtmutex-debug.c')
0 files changed, 0 insertions, 0 deletions