diff options
author | 2017-12-30 19:04:00 +0000 | |
---|---|---|
committer | 2017-12-30 19:04:00 +0000 | |
commit | eba3a07701f3e9da567ae007462425836608e6b2 (patch) | |
tree | 11e7dc5c6f0e28ddf863dc986ed791f8c114bafe | |
parent | Add support for the USB PHY of the Allwinner R40/V40. (diff) | |
download | wireguard-openbsd-eba3a07701f3e9da567ae007462425836608e6b2.tar.xz wireguard-openbsd-eba3a07701f3e9da567ae007462425836608e6b2.zip |
Somewhow I botched rev 1.3, which has a = where a |= is needed. Fix this.
-rw-r--r-- | sys/dev/fdt/sxitwi.c | 4 |
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; |