usb: xhci_msm_hsic: Fix the issue between remove and completion handler
This is an issue between xhci_remove fucntion and completion handler.
If the xhci remove is happened before xhci_bus_suspend completion handler
is done, then the system is possible to have IN_L2_IRQ timeout. Then the
panic is generated. In order to avoid system have 5s timeout and panic,
using wait_event_interruptible_timeout way to instead of completion
handler.
CRs-fixed: 647545
Change-Id: I3243bd754e059237ba179282ae9200a1c825de74
Signed-off-by:
Guang Jian Zeng <gzeng@codeaurora.org>
Loading
Please register or sign in to comment