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:
Landon J. Fuller 2017-12-14 03:12:05 +00:00
parent 7f1c814bb3
commit 03362f9a6f

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