ID ground interrupt processing and system suspend can run in parallel. When Id is grounded, USB is brought out of low power mode(LPM) and state machine work is run to activate host mode. While waiting for the VBUS valid event, device suspend callback is executed from system suspend context. The current code put USB in LPM, without activating host mode completely. Abort suspend when A_BUS_REQ is asserted which indicate that host mode is active. (cherry picked from commit cfe0539e389c52ec6c4d99cf1915d806d42f1abe) CRs-Fixed: 412841 Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org> Change-Id: I9ecd4f55a328d63ddbf0e415a9bcff1158874203 Signed-off-by: Neha Pandey <nehap@codeaurora.org>