usb: phy-msm-usb: Allow peripheral mode switch in more host states
The current code allows peripheral mode switch in only A_HOST state
using user mode otg control debug interface. The target can also be in
A_WAIT_BCON and A_SUSPEND while operating as a host. Allow peripheral mode
switch in these states as well. Also check the PMIC id status
when the otg control is set to PMIC.
Change-Id: I56d97f4d5b0e707d693300e65908062caa13cfd0
Signed-off-by:
ChandanaKishori Chiluveru <cchilu@codeaurora.org>
Loading
Please register or sign in to comment