Commit 9999f105 authored by Rob Clark's avatar Rob Clark

drm/msm: fix deadlock in bo create fail path

We already hold struct_mutex here.
Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
parent aa1b0e59
...@@ -644,7 +644,7 @@ struct drm_gem_object *msm_gem_new(struct drm_device *dev, ...@@ -644,7 +644,7 @@ struct drm_gem_object *msm_gem_new(struct drm_device *dev,
fail: fail:
if (obj) if (obj)
drm_gem_object_unreference_unlocked(obj); drm_gem_object_unreference(obj);
return ERR_PTR(ret); return ERR_PTR(ret);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment