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

Commit 89f1f7ec authored by Ritesh Kumar's avatar Ritesh Kumar
Browse files

input: touchscreen: synaptics_tcm: Fix touch suspend check



Fix touch suspend check to perform resume operations only
when touch is in suspend state.

Change-Id: I3311aa694703326d84b2bab9acbafcaba532b6ec
Signed-off-by: default avatarRitesh Kumar <riteshk@codeaurora.org>
parent 170e97ec
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2893,7 +2893,8 @@ static int syna_tcm_resume(struct device *dev)

	if (!tcm_hcd->init_okay)
		syna_tcm_deferred_probe(dev);
	else if (!tcm_hcd->in_suspend)

	if (!tcm_hcd->in_suspend)
		return 0;
	else {
		if (tcm_hcd->irq_enabled) {