Searched hist:03019759 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/extcon/ |
H A D | extcon-adc-jack.c | 03019759 Mon Oct 01 19:14:59 CDT 2012 Axel Lin <axel.lin@ingics.com> 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 <axel.lin@ingics.com> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com> 03019759 Mon Oct 01 19:14:59 CDT 2012 Axel Lin <axel.lin@ingics.com> 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 <axel.lin@ingics.com> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
|