Commit bbd0582e authored by Pavankumar Kondeti's avatar Pavankumar Kondeti
Browse files

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: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent 7ea4328b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment