regulator: qcom-labibb: OCP interrupts are not a failure while disabled
authorMarijn Suijten <marijn.suijten@somainline.org>
Fri, 24 Dec 2021 11:34:50 +0000 (12:34 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 24 Dec 2021 14:07:02 +0000 (14:07 +0000)
commitd27bb69dc83f00f86a830298c967052cded6e784
tree7fd2e63e5b07bb8672a81bab8301cad58d5bb1cd
parent5d55cbc720cc3650aafed6c1f5dbcf7e3f276312
regulator: qcom-labibb: OCP interrupts are not a failure while disabled

Receiving the Over-Current Protection interrupt while the regulator is
disabled does not count as unhandled/failure (IRQ_NONE, or 0 as it were)
but a "fake event", usually due to inrush as the is regulator about to
be enabled.

Fixes: 390af53e0411 ("regulator: qcom-labibb: Implement short-circuit and over-current IRQs")
Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
Link: https://lore.kernel.org/r/20211224113450.107958-1-marijn.suijten@somainline.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/qcom-labibb-regulator.c