]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vmwgfx: Fix error paths when mapping framebuffer
authorSinclair Yeh <syeh@vmware.com>
Thu, 7 Jul 2016 18:01:30 +0000 (11:01 -0700)
committerSinclair Yeh <syeh@vmware.com>
Fri, 8 Jul 2016 15:30:35 +0000 (08:30 -0700)
commit2609c53e8f155693589a8295a2ce9f5ba6081b0c
tree66552c974889d321d2b0cbd2233c37ff931e7619
parentc70f189bd5314f3d45a61abc0a94d79ec6bcfda1
drm/vmwgfx: Fix error paths when mapping framebuffer

Rather than returning immediately, make sure to unlock the
mutexes first.

Signed-off-by: Sinclair Yeh <syeh@vmware.com>
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
Reported-by: Emil Velikov <emil.l.velikov@gmail.com>
Cc: <stable@vger.kernel.org>
drivers/gpu/drm/vmwgfx/vmwgfx_fb.c