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~9833^2~5^2~37 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=f82c6e916c007e5b1c5d9fe74d7c9e5a0170f514;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 7d22f51392dd..43e94e5188dd 100644 --- a/drivers/input/evdev.c +++ b/drivers/input/evdev.c @@ -316,6 +316,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);