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:
parent
1a56b461ef
commit
3f4a6601d4
@ -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)
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user