summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2017-12-30 19:04:01 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2017-12-30 19:04:01 +0000
commit904101e85514d152ccd8190228dca6ebb85382ee (patch)
tree3a0453de7e2cefa00e8cb02352e11e86053a00d6 /sys
parente155ac9e6de904a449ed577a787b91fa354c3008 (diff)
Somewhow I botched rev 1.3, which has a = where a |= is needed. Fix this.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/fdt/sxitwi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/fdt/sxitwi.c b/sys/dev/fdt/sxitwi.c
index d102a1d4987..b409942e2e1 100644
--- a/sys/dev/fdt/sxitwi.c
+++ b/sys/dev/fdt/sxitwi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sxitwi.c,v 1.4 2017/12/28 17:50:57 tom Exp $ */
+/* $OpenBSD: sxitwi.c,v 1.5 2017/12/30 19:04:00 kettenis Exp $ */
/* $NetBSD: gttwsi_core.c,v 1.2 2014/11/23 13:37:27 jmcneill Exp $ */
/*
* Copyright (c) 2008 Eiji Kawauchi.
@@ -209,7 +209,7 @@ sxitwi_attach(struct device *parent, struct device *self, void *aux)
*/
sc->sc_twsien_iflg = CONTROL_TWSIEN;
if (OF_is_compatible(sc->sc_node, "allwinner,sun6i-a31-i2c"))
- sc->sc_twsien_iflg = CONTROL_IFLG;
+ sc->sc_twsien_iflg |= CONTROL_IFLG;
sc->sc_started = 0;
sc->sc_ic.ic_cookie = sc;