USB: OTG: msm: Fix bug in wall charger disconnect detection
PHY retention and HV interrupts are not enabled while entering into low
power mode with wall charger connected. But PHY is put into suspend mode.
If PMIC notifications are unavailable, enable asynchronous interrupt to
detect wall charger disconnection. If it is not enabled, no further
interrupts are triggered by PHY.
CRs-fixed: 352210
Change-Id: I107e1c91a29d65594a603a5651cd0bfe5b792bcc
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
1 file changed