Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0d9509d2 authored by Wei Yongjun's avatar Wei Yongjun Committed by Rob Clark
Browse files

drm/msm: Fix missing unlock on error in msm_fbdev_create()



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

Signed-off-by: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
parent 12313c2a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -143,7 +143,7 @@ static int msm_fbdev_create(struct drm_fb_helper *helper,
	ret = msm_gem_get_iova_locked(fbdev->bo, 0, &paddr);
	if (ret) {
		dev_err(dev->dev, "failed to get buffer obj iova: %d\n", ret);
		goto fail;
		goto fail_unlock;
	}

	fbi = framebuffer_alloc(0, dev->dev);