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

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

Merge "input: touchscreen: nt36xxx: enter deep sleep state"

parents fffbcb37 257b980c
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1754,6 +1754,12 @@ static int32_t nvt_ts_suspend(struct device *dev)
	buf[0] = EVENT_MAP_HOST_CMD;
	buf[1] = 0x11;
	CTP_I2C_WRITE(ts->client, I2C_FW_Address, buf, 2);

	nvt_set_page(I2C_FW_Address, 0x11a50);
	buf[0] = 0x11a50 & 0xff;
	buf[1] = 0x11;
	CTP_I2C_WRITE(ts->client, I2C_FW_Address, buf, 2);

#endif // WAKEUP_GESTURE

	mutex_unlock(&ts->lock);