projects
/
linux-2.6-microblaze.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
|
history
diff --git
a/drivers/media/IR/imon.c
b/drivers/media/IR/imon.c
index
d5d8d93
..
ca2b490
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;