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

Skip to content
Commit 83c5fbd2 authored by Kiran Gunda's avatar Kiran Gunda Committed by David Collins
Browse files

regulator: qcom_pm8008: Add LDO OCP interrupt support



When the load on an LDO is higher than what it can supply in the current
operational mode, the LDO can hit the OCP (Over Current Protection)
condition. Add interrupt support to notify the consumers about the OCP
condition so that the consumers can take the necessary action.

Note that mutex_lock() and mutex_unlock() in the original version
of this patch were replaced with regulator_lock() and
regulator_unlock() respectively to resolve a compilation error.

Change-Id: I118364ea0f5ea28e8749861136301c1c6b8d7f84
Signed-off-by: default avatarKiran Gunda <kgunda@codeaurora.org>
Signed-off-by: default avatarDavid Collins <collinsd@codeaurora.org>
parent e3116a70
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