summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/nouveau_connector.c
diff options
context:
space:
mode:
authorAditya Pakki <pakki001@umn.edu>2020-06-13 20:29:18 -0500
committerBen Skeggs <bskeggs@redhat.com>2020-07-24 18:50:49 +1000
commita2cdf39536b0d21fb06113f5e16692513d7bcb9c (patch)
tree8d8ee7d895b297a4adc718850b72c9cca8af85d1 /drivers/gpu/drm/nouveau/nouveau_connector.c
parent659fb5f154c3434c90a34586f3b7aa1c39cf6062 (diff)
drm/nouveau: fix reference count leak in nv50_disp_atomic_commit
nv50_disp_atomic_commit() calls calls pm_runtime_get_sync and in turn increments the reference count. In case of failure, decrement the ref count before returning the error. Signed-off-by: Aditya Pakki <pakki001@umn.edu> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_connector.c')
0 files changed, 0 insertions, 0 deletions