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

Commit e544b875 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 d976ff8a 66a9a6a8
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -2840,6 +2840,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;
@@ -2848,9 +2850,6 @@ static int syna_tcm_resume(struct device *dev)
		}
	}

	if (!tcm_hcd->in_suspend)
		return 0;

	retval = pinctrl_select_state(
			tcm_hcd->ts_pinctrl,
			tcm_hcd->pinctrl_state_active);