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

Commit f8ee781e authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "input: synaptics_dsx_2.6: fix CTP power issue for QRD8953"

parents f182dbf0 5c47ba44
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -4514,6 +4514,10 @@ exit:
	}
	mutex_unlock(&exp_data.mutex);

	if (!rmi4_data->suspend) {
		synaptics_rmi4_enable_reg(rmi4_data, false);
		synaptics_rmi4_get_reg(rmi4_data, false);
	}
	rmi4_data->suspend = true;

	return 0;
@@ -4540,6 +4544,11 @@ static int synaptics_rmi4_resume(struct device *dev)

	rmi4_data->current_page = MASK_8BIT;

	if(rmi4_data->suspend) {
		synaptics_rmi4_get_reg(rmi4_data, true);
		synaptics_rmi4_enable_reg(rmi4_data, true);
	}

	synaptics_rmi4_sleep_enable(rmi4_data, false);
	synaptics_rmi4_irq_enable(rmi4_data, true, false);