commit | 3539699c03a6a349ffb8a2ac83ec40d6a981b2d6 | [log] [tgz] |
---|---|---|
author | Phil Reid <preid@electromag.com.au> | Tue Mar 15 15:46:30 2016 +0800 |
committer | Linus Walleij <linus.walleij@linaro.org> | Wed Mar 16 13:41:59 2016 +0100 |
tree | 269fe28556a1bff5e20abdf954e3ba10fd940117 | |
parent | 1cfab8f8b397f7d95ad43f72ed9a1fa7d26e210e [diff] |
gpio: mcp23s08: Fix clearing of interrupt. The mcp23s18 is configurable on clearing the interrupt on either reading INTCAP or GPIO. Since driver reads INTCAP in IRQ and not the GPIO reg need to set control byte for this mode. Signed-off-by: Phil Reid <preid@electromag.com.au> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>