diff options
author | Rob Clark <robdclark@gmail.com> | 2014-02-04 14:17:32 -0500 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2014-02-05 11:24:42 -0500 |
commit | 9999f105e76977d97304d7cb2030a52d96800d69 (patch) | |
tree | 4eb06203db1153ce62c3b4376cb2158599350590 /drivers/gpu | |
parent | aa1b0e59d3096f4602afeb114a3b3be505889a26 (diff) |
drm/msm: fix deadlock in bo create fail path
We already hold struct_mutex here.
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/msm/msm_gem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/msm_gem.c b/drivers/gpu/drm/msm/msm_gem.c index d8d60c969ac..3da8264d303 100644 --- a/drivers/gpu/drm/msm/msm_gem.c +++ b/drivers/gpu/drm/msm/msm_gem.c @@ -644,7 +644,7 @@ struct drm_gem_object *msm_gem_new(struct drm_device *dev, fail: if (obj) - drm_gem_object_unreference_unlocked(obj); + drm_gem_object_unreference(obj); return ERR_PTR(ret); } |