mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 03:27:03 +02:00
iio: adc: qcom-spmi-adc5-gen3: Fix interrupt handler returns
Currently, the adc5 gen3 interrupt handler always returns IRQ_HANDLED. Fix the handler so that on errors IRQ_NONE is returned. Change-Id: I2ccebb985c81ad9de57b829b469ec8e58437f9e9 Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
This commit is contained in:
parent
f394355bf8
commit
1d56dd15cb
|
|
@ -615,8 +615,10 @@ static irqreturn_t adc5_gen3_isr(int irq, void *dev_id)
|
|||
goto handler_end;
|
||||
}
|
||||
|
||||
handler_end:
|
||||
return IRQ_HANDLED;
|
||||
|
||||
handler_end:
|
||||
return IRQ_NONE;
|
||||
}
|
||||
|
||||
static void __tm_handler_work(struct adc5_chip *adc, unsigned int sdam_index)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user