Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 03019759 authored by Axel Lin's avatar Axel Lin Committed by MyungJoo Ham
Browse files

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: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarChanwoo Choi <cw00.choi@samsung.com>
parent 5cd3c277
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment