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

Commit 78b6f0ee authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "input: touchscreen: synaptics_tcm: Fix doze-mode issue"

parents 34372338 782d58ef
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -2893,6 +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)
		return 0;
	else {
		if (tcm_hcd->irq_enabled) {
			tcm_hcd->watchdog.run = false;
@@ -2901,9 +2903,6 @@ static int syna_tcm_resume(struct device *dev)
		}
	}

	if (!tcm_hcd->in_suspend)
		return 0;

	retval = syna_tcm_enable_regulator(tcm_hcd, true);
	if (retval < 0) {
		LOGE(tcm_hcd->pdev->dev.parent,