]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5910745ccb032eb19f9870f98fba162eee10933e
tree7fd2e63e5b07bb8672a81bab8301cad58d5bb1cd
parent156f7f130f71e62ca04da25a140889a19fb4d62b
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: 075541f1f2ba ("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