diff options
author | Thomas Preston <thomas.preston@codethink.co.uk> | 2020-08-29 00:32:26 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2020-09-12 12:31:19 +0300 |
commit | b9b7fb29433b906635231d0a111224efa009198c (patch) | |
tree | f6f9ef123f5efd954b979e3f643ab25f8bce25d0 /tools | |
parent | b445f6237744df5e8d4f56f8733b2108c611220a (diff) | |
download | linux-b9b7fb29433b906635231d0a111224efa009198c.tar.xz |
pinctrl: mcp23s08: Fix mcp23x17 precious range
On page 23 of the datasheet [0] it says "The register remains unchanged
until the interrupt is cleared via a read of INTCAP or GPIO." Include
INTCAPA and INTCAPB registers in precious range, so that they aren't
accidentally cleared when we read via debugfs.
[0] https://ww1.microchip.com/downloads/en/DeviceDoc/20001952C.pdf
Fixes: 8f38910ba4f6 ("pinctrl: mcp23s08: switch to regmap caching")
Signed-off-by: Thomas Preston <thomas.preston@codethink.co.uk>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20200828213226.1734264-3-thomas.preston@codethink.co.uk
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions