Date: Thu, 14 Dec 2017 03:12:06 +0000 (UTC) From: "Landon J. Fuller" <landonf@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r326838 - head/sys/dev/bhnd/cores/chipc Message-ID: <201712140312.vBE3C6G9028965@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: landonf Date: Thu Dec 14 03:12:05 2017 New Revision: 326838 URL: https://svnweb.freebsd.org/changeset/base/326838 Log: bhnd_chipc(4): Correct typo in flag macros that broke clearing of GPIO pin flags. Approved by: adrian (mentor, implicit) Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/bhnd/cores/chipc/chipc_gpiovar.h Modified: head/sys/dev/bhnd/cores/chipc/chipc_gpiovar.h ============================================================================== --- head/sys/dev/bhnd/cores/chipc/chipc_gpiovar.h Thu Dec 14 03:03:08 2017 (r326837) +++ head/sys/dev/bhnd/cores/chipc/chipc_gpiovar.h Thu Dec 14 03:12:05 2017 (r326838) @@ -111,7 +111,7 @@ struct chipc_gpio_update { if (_val) \ (_upd)->_reg.value |= (1 << (_pin)); \ else \ - (_upd)->_reg.value &= (1 << (_pin)); \ + (_upd)->_reg.value &= ~(1 << (_pin)); \ } while(0) /**
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712140312.vBE3C6G9028965>