diff options
| author | Abhijeet Dharmapurikar <adharmap@codeaurora.org> | 2016-07-05 14:03:31 -0700 |
|---|---|---|
| committer | Abhijeet Dharmapurikar <adharmap@codeaurora.org> | 2016-07-20 16:50:56 -0700 |
| commit | 6899c6bffff40d6dbcda2166d3b86eabb181bcf4 (patch) | |
| tree | 4815667e2949f1f806190cf5e47d3b99d5b9e098 /lib/mpi/mpi-internal.h | |
| parent | bc356bece8a9b9ce6930ebcc5ed3f4cfe61a73a6 (diff) | |
smb-lib: improve handling of usbin plugin interrupt
Currently the code disables the dpdm regulator if VBUS is present and
regulator is enabled.
It could happen that the charger oscillates its VBUS as it settles and
based on the delay's in responding to an interrupt, the software could
read vbus_present while the regulator was enabled earlier causing an
incorrect disable of the dpdm regulator.
It is required to ignore the interrupt in such cases.
Change-Id: I882780c1bcbc7713973eda5383291d891787f144
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions
