diff options
author | Nicholas Troast <ntroast@codeaurora.org> | 2016-09-16 11:07:45 -0700 |
---|---|---|
committer | Nicholas Troast <ntroast@codeaurora.org> | 2016-11-07 11:37:08 -0800 |
commit | 2dad6f26dc9039672ba600d237cb7172c426dc94 (patch) | |
tree | e19831c382b923118734f37904dbef9599f9b9b8 /drivers/dma | |
parent | ce610f2fc934e89c706a8030b25ce48accced28a (diff) |
qpnp-smb2: fix reverse boost when input is removed
When any input is removed it is likely that reverse boost can happen.
Detect reverse boost by checking if the switcher-power-ok interrupt
triggers 3 times within 1 second. If detected then suspend all input.
Once VBUS falls the input can be resumed for the next insertion.
Change-Id: I3dbe4fe426111023b60eefd968c426be7d6057b9
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
Diffstat (limited to 'drivers/dma')
0 files changed, 0 insertions, 0 deletions