mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
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: Wei Yongjun <[email protected]> Signed-off-by: Rob Clark <[email protected]>
This commit is contained in:
parent
12313c2aa8
commit
0d9509d211
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue