drm/vmwgfx: Fix error paths when mapping framebuffer
Rather than returning immediately, make sure to unlock the mutexes first. Signed-off-by: NSinclair Yeh <syeh@vmware.com> Reviewed-by: NCharmaine Lee <charmainel@vmware.com> Reported-by: NEmil Velikov <emil.l.velikov@gmail.com> Cc: <stable@vger.kernel.org>
Showing
想要评论请 注册 或 登录