From 73910b96913ed4fd6a3dfb6bef8d92912cd8ba4c Mon Sep 17 00:00:00 2001 From: deraadt Date: Mon, 19 Aug 2024 14:24:24 +0000 Subject: [PATCH] now that suspend operations are done as quiesce, we can try to use the MXT_T7_POWER_MODE_DEEP_SLEEP operation. --- sys/dev/i2c/iatp.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sys/dev/i2c/iatp.c b/sys/dev/i2c/iatp.c index 701289d3d31..e18f800d206 100644 --- a/sys/dev/i2c/iatp.c +++ b/sys/dev/i2c/iatp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: iatp.c,v 1.10 2024/08/18 03:25:04 deraadt Exp $ */ +/* $OpenBSD: iatp.c,v 1.11 2024/08/19 14:24:24 deraadt Exp $ */ /* * Atmel maXTouch i2c touchscreen/touchpad driver * Copyright (c) 2016 joshua stein @@ -300,10 +300,7 @@ iatp_activate(struct device *self, int act) switch (act) { case DVACT_QUIESCE: rv = config_activate_children(self, act); -#if 0 - /* XXX: causes dwiic troubles */ iatp_t7_set_power_mode(sc, MXT_T7_POWER_MODE_DEEP_SLEEP); -#endif break; case DVACT_WAKEUP: sc->sc_busy = 1; -- 2.20.1