summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2024-08-17 02:14:22 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2024-08-17 02:14:22 +0000
commitb277ca6fbaa2aaaab5ad76d9a7ae8bcfaee83215 (patch)
tree8e75da39a29fa0021340cffc716899f60ba22eaf /sys/dev/ic
parent3c777c4841a44b7afecb6a14b10dca420dc71919 (diff)
dwiic resume is almost exclusively a "hardware state restore", and
not a "restart transaction", so the job should get done at DVACT_RESUME time. ok kettenis mlarkin
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/dwiic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/dwiic.c b/sys/dev/ic/dwiic.c
index abe043cc308..cb2f986cc29 100644
--- a/sys/dev/ic/dwiic.c
+++ b/sys/dev/ic/dwiic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dwiic.c,v 1.17 2024/08/16 15:27:11 deraadt Exp $ */
+/* $OpenBSD: dwiic.c,v 1.18 2024/08/17 02:14:20 deraadt Exp $ */
/*
* Synopsys DesignWare I2C controller
*
@@ -43,7 +43,7 @@ dwiic_activate(struct device *self, int act)
dwiic_write(sc, DW_IC_INTR_MASK, 0);
dwiic_read(sc, DW_IC_CLR_INTR);
break;
- case DVACT_WAKEUP:
+ case DVACT_RESUME:
dwiic_init(sc);
break;
}