projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
635f76b
)
[media] lirc_dev: stray unlock in lirc_dev_fop_poll()
author
Dan Carpenter
<error27@gmail.com>
Wed, 17 Nov 2010 05:12:23 +0000
(
02:12
-0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Mon, 20 Dec 2010 16:11:14 +0000
(14:11 -0200)
We shouldn't unlock here. I think this was a cut and paste error.
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/lirc_dev.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/media/IR/lirc_dev.c
b/drivers/media/IR/lirc_dev.c
index 8418b14ee4d2244ee3b6528549d0d22f35c85159..8ab9d87f3a468af40d8d760db172f5a66ca2c02e 100644
(file)
--- a/
drivers/media/IR/lirc_dev.c
+++ b/
drivers/media/IR/lirc_dev.c
@@
-522,10
+522,8
@@
unsigned int lirc_dev_fop_poll(struct file *file, poll_table *wait)
dev_dbg(ir->d.dev, LOGHEAD "poll called\n", ir->d.name, ir->d.minor);
- if (!ir->attached) {
- mutex_unlock(&ir->irctl_lock);
+ if (!ir->attached)
return POLLERR;
- }
poll_wait(file, &ir->buf->wait_poll, wait);