Skip to content
Commit 2cd29f23 authored by Robert Middleton's avatar Robert Middleton Committed by Linus Walleij
Browse files

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: stable@vger.kernel.org
Signed-off-by: default avatarRobert Middleton <robert.middleton@rm5248.com>
Tested-by: default avatarPhil Reid <preid@electromag.com.au>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 0043c1df
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment