OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f173db9
)
input: evdev: Add missing wake_lock_destroy
author
Benoit Goby
<benoit@android.com>
Wed, 19 Jan 2011 22:10:37 +0000
(14:10 -0800)
committer
Brian Swetland
<swetland@google.com>
Tue, 29 Mar 2011 20:58:03 +0000
(13:58 -0700)
Change-Id: Ief1ef44d98a197e5b457f5e8617c413e76e3c6d2
Signed-off-by: Benoit Goby <benoit@android.com>
drivers/input/evdev.c
patch
|
blob
|
history
diff --git
a/drivers/input/evdev.c
b/drivers/input/evdev.c
index
2f60c80
..
cc7380e
100644
(file)
--- a/
drivers/input/evdev.c
+++ b/
drivers/input/evdev.c
@@
-318,6
+318,7
@@
static int evdev_open(struct inode *inode, struct file *file)
err_free_client:
evdev_detach_client(evdev, client);
+ wake_lock_destroy(&client->wake_lock);
kfree(client);
err_put_evdev:
put_device(&evdev->dev);