diff options
author | 2020-05-21 15:39:19 +0800 | |
---|---|---|
committer | 2020-05-25 11:09:43 +0300 | |
commit | e5b913496099527abe46e175e5e2c844367bded0 (patch) | |
tree | e32de46ca207457f0742252ad1f83496d3ebc6af /tools/perf/scripts/python/export-to-postgresql.py | |
parent | usb: gadget: lpc32xx_udc: don't dereference ep pointer before null check (diff) | |
download | wireguard-linux-e5b913496099527abe46e175e5e2c844367bded0.tar.xz wireguard-linux-e5b913496099527abe46e175e5e2c844367bded0.zip |
usb: cdns3: Fix runtime PM imbalance on error
pm_runtime_get_sync() increments the runtime PM usage counter even
when it returns an error code. Thus a pairing decrement is needed on
the error handling path to keep the counter balanced.
Reviewed-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions