Commit d666daf4 authored by Ajay Dudani's avatar Ajay Dudani Committed by Android Partner Code Review
Browse files

EHCI: HSIC: Fix race between HSIC runtime resume and remote wakeup



HSIC runtime resume initiated by an interface driver and remote wakeup
gpio interrupt handler can run in parallel. If HSIC runtime resume is
triggered by runtime PM core, pm_runtime_get call will fail in wakeup
interrupt handler.  Check the return code and decrement the PM usage
counter.

CRs-Fixed: 403708
Change-Id: I3108c4aed86723a629a98bdbc461679178727fe5
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent adffd544
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment