projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f6e3c8
)
V4L/DVB: media/IR/imon: potential double unlock on error
author
Dan Carpenter
<error27@gmail.com>
Tue, 4 May 2010 11:36:34 +0000
(08:36 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Wed, 19 May 2010 15:59:04 +0000
(12:59 -0300)
If there is an error here we should unlock in the caller (which is
imon_init_intf1()). We can remove this stray unlock.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/IR/imon.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/media/IR/imon.c
b/drivers/media/IR/imon.c
index d5d8d9331870e5084d8ac4efe8e6711d0cebe173..ca2b49084d7288c40443adf49f68840071c2dc39 100644
(file)
--- a/
drivers/media/IR/imon.c
+++ b/
drivers/media/IR/imon.c
@@
-1776,7
+1776,6
@@
static struct input_dev *imon_init_touch(struct imon_context *ictx)
touch_register_failed:
input_free_device(ictx->touch);
- mutex_unlock(&ictx->lock);
touch_alloc_failed:
return NULL;