commit | 968cf27ef604a71d98f1a7b4a5c4369892cd10dc | [log] [tgz] |
---|---|---|
author | Pavankumar Kondeti <pkondeti@codeaurora.org> | Thu Sep 27 12:04:12 2012 +0530 |
committer | Pavankumar Kondeti <pkondeti@codeaurora.org> | Thu Sep 27 12:12:49 2012 +0530 |
tree | fd6c594ae8f02da401a3a2430530ba11458bef46 | |
parent | 1bc25d8b234a4350d6987d4ce212762219118219 [diff] |
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: Pavankumar Kondeti <pkondeti@codeaurora.org>