summaryrefslogtreecommitdiff
path: root/sys/dev/acpi/dwiic.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/acpi/dwiic.c')
-rw-r--r--sys/dev/acpi/dwiic.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/dev/acpi/dwiic.c b/sys/dev/acpi/dwiic.c
index dcabdefa5a4..175691c6f47 100644
--- a/sys/dev/acpi/dwiic.c
+++ b/sys/dev/acpi/dwiic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dwiic.c,v 1.20 2016/09/01 10:04:51 jcs Exp $ */
+/* $OpenBSD: dwiic.c,v 1.21 2016/09/07 15:31:41 jcs Exp $ */
/*
* Synopsys DesignWare I2C controller
*
@@ -985,9 +985,6 @@ dwiic_i2c_exec(void *cookie, i2c_op_t op, i2c_addr_t addr, const void *cmdbuf,
sc->sc_i2c_xfer.error = 1;
sc->sc_busy = 0;
- /* disable controller */
- dwiic_enable(sc, 0);
-
return (1);
}
@@ -1014,9 +1011,6 @@ dwiic_i2c_exec(void *cookie, i2c_op_t op, i2c_addr_t addr, const void *cmdbuf,
}
}
- /* disable controller */
- dwiic_enable(sc, 0);
-
sc->sc_busy = 0;
return 0;