summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@ti.com>2016-06-10 14:38:02 +0300
committerFelipe Balbi <felipe.balbi@linux.intel.com>2016-06-21 10:38:43 +0300
commit328082376aea6016b63bca1e5c067a9539f9e8c9 (patch)
tree015614fec0a9c5ad9014f5892b8aa9ec0ac5381b /tools/perf/scripts/python/call-graph-from-postgresql.py
parentb6d4e16e831376b676edb3463f2bdaa192e5f7be (diff)
downloadlinux-328082376aea6016b63bca1e5c067a9539f9e8c9.tar.xz
usb: dwc3: fix runtime PM in error path
If there is a failure after pm_runtime_enable/get_sync() we need to call pm_runtime_disable/put_sync(). Otherwise it will lead to an unbalanced pm_runtime_enable() on the subsequent probe if the earlier probe bailed out due to -EPROBE_DEFER. pm_runtime_get_sync() can fail as well so deal with that case too. Signed-off-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions