projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3122d07
)
gpu: ion: Fix bug in ion_free
author
Rebecca Schultz Zavin
<rebecca@android.com>
Wed, 29 Aug 2012 17:30:08 +0000
(10:30 -0700)
committer
Arve Hjønnevåg
<arve@android.com>
Mon, 1 Jul 2013 21:16:05 +0000
(14:16 -0700)
Change-Id: I9e92ed750c5cd5d0329ce1747e419c908e0f37ef
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
drivers/gpu/ion/ion.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/ion/ion.c
b/drivers/gpu/ion/ion.c
index cde2d1c2dc59e9edebe99096362d65661036ca75..9c08737017916c454bb8a2830ddb25c2f38725f5 100644
(file)
--- a/
drivers/gpu/ion/ion.c
+++ b/
drivers/gpu/ion/ion.c
@@
-406,6
+406,7
@@
void ion_free(struct ion_client *client, struct ion_handle *handle)
if (!valid_handle) {
WARN(1, "%s: invalid handle passed to free.\n", __func__);
+ mutex_unlock(&client->lock);
return;
}
ion_handle_put(handle);