]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
drm/msm: unlock on error in msm_gem_get_iova()
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 10 Jul 2017 07:20:42 +0000 (10:20 +0300)
committerRob Clark <robdclark@gmail.com>
Tue, 1 Aug 2017 20:24:21 +0000 (16:24 -0400)
commit71e3dfa167b105d3c06e76fee1d0e2fd1e502cf6
treec0e7f566aeeebed7690ff08582a6b7466ba5f166
parent65e93108891e571f177c202add9288eda9ac4100
drm/msm: unlock on error in msm_gem_get_iova()

We recently added locking to this function but there was a direct return
that was overlooked where we need to unlock.

Fixes: 0e08270a1f01 ("drm/msm: Separate locking of buffer resources from struct_mutex")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/msm_gem.c