From: kettenis Date: Sat, 30 Dec 2017 19:04:00 +0000 (+0000) Subject: Somewhow I botched rev 1.3, which has a = where a |= is needed. Fix this. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=eba3a07701f3e9da567ae007462425836608e6b2;p=openbsd Somewhow I botched rev 1.3, which has a = where a |= is needed. Fix this. --- 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;