]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Jul 2016 15:42:20 +0000 (08:42 -0700)
commitea6c83c80fc75f6dee0d0c52675287ff5f46a617
treeab246178578429ccbabc3583723a522ce6609240
parent6a1c743a96ac3ac22249d0efb001a59165bd8e3d
drm/vmwgfx: Fix error paths when mapping framebuffer

commit 58541f7a6458e17ab417321b284f0090f530aa91 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/vmwgfx/vmwgfx_fb.c