usb: ehci-msm: Fix unclocked access on system resume

On system resume, host controller driver may try to access
USB registers to update wakeup flags before OTG driver brings
hardware out of low power state and turns ON clocks.
Make sure hardware is out of LPM before accessing registers and
always resume root hub during system resume to allow USB host
bus suspend if system was not resumed due to USB event and PCD
interrupt wouldn't follow.

CRs-Fixed: 502926
Change-Id: Ib1e69211ae35feae509581b73d7b0d1aef9872e9
Signed-off-by: Manu Gautam <mgautam@codeaurora.org>
1 file changed