Aditya Pakki 2eac5a4ca1 drm/nouveau: Fix reference count leak in nouveau_connector_detect
[ Upstream commit 990a1162986e8eff7ca18cc5a0e03b4304392ae2 ]

nouveau_connector_detect() 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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-09-03 11:21:17 +02:00
..
2019-12-21 10:41:37 +01:00
2016-09-19 15:04:15 +02:00
2016-09-22 00:04:02 -07:00
2016-09-21 13:33:50 +02:00
2016-09-22 00:01:56 -07:00
2016-09-06 13:56:41 -04:00
2016-09-19 13:57:38 +02:00
2016-09-19 13:57:38 +02:00
2016-09-19 13:57:38 +02:00
2016-09-22 00:04:02 -07:00