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
7f1c814bb3
commit
03362f9a6f
@ -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