drm/i915: Fix missing unlock on error in i915_ppgtt_info()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 13 Jun 2016 23:42:00 +0000 (23:42 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 14 Jun 2016 05:57:20 +0000 (07:57 +0200)
commitb0212486909de4f239ca9f20d032de1b1f2dc52e
tree0362c8e4f1380f526e13a2ad4e7da02e5019ebdd
parentc02726ffea2df09acc46adb049a7fb4ea10f0e05
drm/i915: Fix missing unlock on error in i915_ppgtt_info()

Add the missing unlock before return from function i915_ppgtt_info()
in the error handling case.

Fixes: 1d2ac403ae3b(drm: Protect dev->filelist with its own mutex)
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1465861320-26221-1-git-send-email-weiyj_lk@163.com
drivers/gpu/drm/i915/i915_debugfs.c