drm/i915: unlock on error in i915_ppgtt_info()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 2 Oct 2015 15:14:22 +0000 (18:14 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 5 Oct 2015 08:01:02 +0000 (10:01 +0200)
commit068127601eefa0565f4b2f4d82750cad9e37000c
tree94cef4c5ba2c090857eccee11a8528d58c4c4428
parent022e4e52a750066047b22031733df70e136ae299
drm/i915: unlock on error in i915_ppgtt_info()

We need to call intel_runtime_pm_put() and mutex_unlock() before
returning.

Fixes: 7cb5dff8d59d ('drm/i915: fix task reference leak in i915_debugfs.c')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_debugfs.c