commit | d3faddc7dcd326c0edc906f907f83a8454986d99 | [log] [tgz] |
---|---|---|
author | Dinghao Liu <dinghao.liu@zju.edu.cn> | Wed May 20 18:36:04 2020 +0800 |
committer | Ben Skeggs <bskeggs@redhat.com> | Fri May 22 11:13:52 2020 +1000 |
tree | b0518436d57b44f512c436444965daac0d1c6417 | |
parent | d7372dfb3f7f1602b87e0663e8b8646da23ebca7 [diff] |
drm/nouveau: fix runtime pm imbalance on error pm_runtime_get_sync() increments the runtime PM usage counter even the call returns an error code. Thus a pairing decrement is needed on the error handling path to keep the counter balanced. Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>