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
This commit is contained in:
landonf 2017-12-14 03:12:05 +00:00
parent 1a56b461ef
commit 3f4a6601d4

View File

@ -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)
/**