diff options
author | Robert Middleton <[email protected]> | 2017-03-15 16:56:47 -0400 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2017-03-17 09:20:28 +0100 |
commit | 2cd29f2387be70de9feb4c9f8dbc7c0bd55748ce (patch) | |
tree | 2ad0218576ed77f43b515ad203b700be557799dd /lib/test-string_helpers.c | |
parent | 0043c1dfbec7b6e2427409059b05347d6f51aa9f (diff) |
gpio:mcp23s08 Fixed missing interrupts
When an interrupt occurs on an MCP23S08 chip, the INTF register will only
contain one bit as causing the interrupt. If more than two pins change at
the same time on the chip, this causes one of the pins to not be reported.
This patch fixes the logic for checking if a pin has changed, so that
multiple pins will always cause more than one change.
Cc: [email protected]
Signed-off-by: Robert Middleton <[email protected]>
Tested-by: Phil Reid <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions