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:
4fd9fcf
)
Input: kxtj9 - fix locking typo in kxtj9_set_poll()
author
Dan Carpenter
<error27@gmail.com>
Wed, 20 Jul 2011 06:16:29 +0000
(23:16 -0700)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Wed, 20 Jul 2011 06:18:09 +0000
(23:18 -0700)
According to the comments we want to call mutex_lock() here instead
of mutex_unlock(). That makes more sense.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/misc/kxtj9.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/input/misc/kxtj9.c
b/drivers/input/misc/kxtj9.c
index 6c96dc3a3c8f3862a4718771976b5501fdcb4ecf..c456f63b6bae0ab2167f6e197ba0d1f210a1fecd 100644
(file)
--- a/
drivers/input/misc/kxtj9.c
+++ b/
drivers/input/misc/kxtj9.c
@@
-362,7
+362,7
@@
static ssize_t kxtj9_set_poll(struct device *dev, struct device_attribute *attr,
return error;
/* Lock the device to prevent races with open/close (and itself) */
- mutex_
un
lock(&input_dev->mutex);
+ mutex_lock(&input_dev->mutex);
disable_irq(client->irq);