EHCI: HSIC: Handle asynchronous interrupt properly
Runtime PM resume and asynchronous interrupt can run in parallel. When
this happens, there is a possibility of PM usage counter mismatch.
Fix this by checking the return value of pm_runtime_get() and by
disabling the USB interrupt while resuming the HSIC.
Consider asynchronous interrupt case when resuming HSIC during system
resume.
(cherry picked from commit 822fbe6e90d32ec7c7b5d7cee69a8cd36869005f)
Conflicts:
drivers/usb/host/ehci-msm-hsic.c
CRs-Fixed: 444883
Change-Id: I63db49d8b45a7413f9456a93c9648511ad622b4b
Signed-off-by:
Pavankumar Kondeti <pkondeti@codeaurora.org>
Loading
Please sign in to comment