commit | e5b913496099527abe46e175e5e2c844367bded0 | [log] [tgz] |
---|---|---|
author | Dinghao Liu <dinghao.liu@zju.edu.cn> | Thu May 21 15:39:19 2020 +0800 |
committer | Felipe Balbi <balbi@kernel.org> | Mon May 25 11:09:43 2020 +0300 |
tree | e32de46ca207457f0742252ad1f83496d3ebc6af | |
parent | eafa80041645cd7604c4357b1a0cd4a3c81f2227 [diff] |
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>