projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14bbf20
)
drm/prime: double lock typo
author
Dan Carpenter
<dan.carpenter@oracle.com>
Fri, 23 Aug 2013 20:46:02 +0000
(23:46 +0300)
committer
Dave Airlie
<airlied@gmail.com>
Thu, 29 Aug 2013 22:58:32 +0000
(08:58 +1000)
There is a typo so deadlocks on error instead of unlocking.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@gmail.com>
drivers/gpu/drm/drm_prime.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/drm_prime.c
b/drivers/gpu/drm/drm_prime.c
index
7ae2bfc
..
276d470
100644
(file)
--- a/
drivers/gpu/drm/drm_prime.c
+++ b/
drivers/gpu/drm/drm_prime.c
@@
-552,7
+552,7
@@
fail:
*/
drm_gem_handle_delete(file_priv, *handle);
out_unlock:
- mutex_lock(&dev->object_name_lock);
+ mutex_
un
lock(&dev->object_name_lock);
out_put:
dma_buf_put(dma_buf);
mutex_unlock(&file_priv->prime.lock);