USB: dwc3: otg: Turn off VBUS before removing hcd

Currently turning off VBUS is done after removing hcd when
micro A cable is disconnected. Removing hcd might take time for
processing device disconnect and during this time, PMIC will
not notify VBUS valid event if micro B cable is connected. This
results in USB cable not getting detected. Hence turn off VBUS
before removing hcd so that PMIC will notify VBUS events.

CRs-Fixed: 473424
Change-Id: I3cc84c4fa403d93d9ea541ce6c9654a42841917c
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
1 file changed