Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bd194a50 authored by aranja's avatar aranja Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarVevek Venkatesan <vevekv@codeaurora.org>
parent 33a9b16f
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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);