From: Benoit Goby Date: Wed, 19 Jan 2011 22:10:37 +0000 (-0800) Subject: input: evdev: Add missing wake_lock_destroy X-Git-Tag: firefly_0821_release~7613^2~679 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0ee5695f24a1629c4147ed44650fe8847891efde;p=firefly-linux-kernel-4.4.55.git input: evdev: Add missing wake_lock_destroy Change-Id: Ief1ef44d98a197e5b457f5e8617c413e76e3c6d2 Signed-off-by: Benoit Goby --- diff --git a/drivers/input/evdev.c b/drivers/input/evdev.c index 1848c9e56338..54c7e1ec6691 100644 --- a/drivers/input/evdev.c +++ b/drivers/input/evdev.c @@ -330,6 +330,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);