USB: OTG: Check for async_int status during PMIC VBUS notification
USB completely depends on PMIC VBUS notification interrupt for resuming
from LPM on cable connect. But with PMIC V3, due to VBUS and
PHY_VBUS delay reduced to 0, there are interrupts both from the PHY as
well as PMIC for VBUS, due to which USB irq is disabled twice and enabled
once thereby making USB non operational.
This check makes sure that the msm_otg_irq is not called twice, Which will
disable USB irq twice and enable's irq only once during msm_otg_resume
thereby reulting in USB not functional.
CRs-fixed: 323681
Change-Id: I4e887a41fb9a53cb237bb20567c9d9e6e6d68a67
Signed-off-by: Chiranjeevi Velempati <cvelempa@codeaurora.org>
1 file changed