diff options
author | Manu Gautam <mgautam@codeaurora.org> | 2017-09-27 16:49:21 +0530 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-10-24 12:51:19 +0300 |
commit | 8eed00b237a2844dbe6bc2bac5c0b2657f9f194b (patch) | |
tree | b3eb2e1ecafbb41f6aa7074b0c548a6642824722 /ipc/shm.c | |
parent | 689bf72c6e0dc97493ba14d82f6762456f8f244a (diff) | |
download | linux-8eed00b237a2844dbe6bc2bac5c0b2657f9f194b.tar.bz2 |
usb: dwc3: pci: Runtime resume child device from wq
Driver currently resumes and increments pm usage_count
of its child device (dwc3 main) from its runtime_resume
handler. This requires dwc3 runtime_resume to perform
pm_runtime_put to decrement the pm usage_count. However
runtime_put from dwc3 happens for non pci drivers
(e.g. dwc3-if-simple.c) as well which results in dwc3
pm usage_count becoming negative after couple of
runtime suspend resume iterations. Fix this by
performing runtime_get/put from dwc3-pci driver only
using workqueue.
Signed-off-by: Manu Gautam <mgautam@codeaurora.org>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'ipc/shm.c')
0 files changed, 0 insertions, 0 deletions