diff options
| author | Manu Gautam <[email protected]> | 2017-09-27 16:49:21 +0530 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2017-10-24 12:51:19 +0300 |
| commit | 8eed00b237a2844dbe6bc2bac5c0b2657f9f194b (patch) | |
| tree | b3eb2e1ecafbb41f6aa7074b0c548a6642824722 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 689bf72c6e0dc97493ba14d82f6762456f8f244a (diff) | |
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 <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions