summaryrefslogtreecommitdiff
path: root/drivers/input/misc
diff options
context:
space:
mode:
authoraranja <aranja@codeaurora.org>2017-08-08 05:03:14 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2017-08-08 23:53:51 -0700
commitd55fd79eb9f15b8400ba1c5c4e8b22acc80abe50 (patch)
treeea3f818936ab88d6e66c8024e53c24487045e969 /drivers/input/misc
parent1b6a7f7ebb8debc61b7123ffab4e28fc2e85d52d (diff)
Revert "input: misc: hbtp_input: fix memory corruption in list"
This reverts commit e6b2b08383f6 ("input: misc: hbtp_input: fix memory corruption in list_del_entry"). This change introduces kernel crash during adb reboot. Change-Id: Ia6f53e2d62344b9f08eb056d901ae39e884e3a96 Signed-off-by: Vevek Venkatesan <vevekv@codeaurora.org>
Diffstat (limited to 'drivers/input/misc')
-rw-r--r--drivers/input/misc/hbtp_input.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/input/misc/hbtp_input.c b/drivers/input/misc/hbtp_input.c
index 30da797a85dc..56f2732334db 100644
--- a/drivers/input/misc/hbtp_input.c
+++ b/drivers/input/misc/hbtp_input.c
@@ -249,10 +249,6 @@ static int hbtp_input_release(struct inode *inode, struct file *file)
return -ENOTTY;
}
hbtp->count--;
- if (!completion_done(&hbtp->power_suspend_sig))
- complete(&hbtp->power_suspend_sig);
- if (!completion_done(&hbtp->power_resume_sig))
- complete(&hbtp->power_resume_sig);
if (hbtp->power_sig_enabled)
hbtp->power_sig_enabled = false;
mutex_unlock(&hbtp->mutex);