Message ID | 20211224113450.107958-1-marijn.suijten@somainline.org |
---|---|
State | Accepted |
Commit | d27bb69dc83f00f86a830298c967052cded6e784 |
Headers | show |
Series | regulator: qcom-labibb: OCP interrupts are not a failure while disabled | expand |
diff --git a/drivers/regulator/qcom-labibb-regulator.c b/drivers/regulator/qcom-labibb-regulator.c index 1b0b3b9edce5..a708da809a8b 100644 --- a/drivers/regulator/qcom-labibb-regulator.c +++ b/drivers/regulator/qcom-labibb-regulator.c @@ -261,7 +261,7 @@ static irqreturn_t qcom_labibb_ocp_isr(int irq, void *chip) /* If the regulator is not enabled, this is a fake event */ if (!ops->is_enabled(vreg->rdev)) - return 0; + return IRQ_HANDLED; /* If we tried to recover for too many times it's not getting better */ if (vreg->ocp_irq_count > LABIBB_MAX_OCP_COUNT)