-
Notifications
You must be signed in to change notification settings - Fork 6.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: gpio_emul: Fire callbacks for pins configured as input + output
Currently, if a GPIO is configured as both input and output, callbacks will not be fired when the output value changes because input pins are masked out. This means the output-wiring mechanism does not work as expected for these pins. Change it to fire callbacks for all output pins instead. Only fire callbacks if they have not already been fired when triggering interrupt events, to prevent callbacks being fired twice for a single state change. Signed-off-by: Reka Norman <[email protected]>
- Loading branch information
1 parent
928e22c
commit 85ba831
Showing
1 changed file
with
25 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters