diff options
author | Benoit Goby <benoit@android.com> | 2011-01-19 14:10:37 -0800 |
---|---|---|
committer | Erik Gilling <konkers@android.com> | 2011-03-30 11:24:45 -0700 |
commit | 13de87d6c3643ac9e36c836e9f01a8eaea188a41 (patch) | |
tree | 45059b0525de1045d6269f837d95c06fc541b7b8 | |
parent | 967db0e003a488158c90a86ce3e6699216135dd6 (diff) | |
download | experimental-13de87d6c3643ac9e36c836e9f01a8eaea188a41.tar.gz |
input: evdev: Add missing wake_lock_destroy
Change-Id: Ief1ef44d98a197e5b457f5e8617c413e76e3c6d2
Signed-off-by: Benoit Goby <benoit@android.com>
-rw-r--r-- | drivers/input/evdev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/evdev.c b/drivers/input/evdev.c index 3643b227f9f..a9cdbdcbe2c 100644 --- 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); |