summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/Kconfig
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2018-12-12 02:39:50 +0100
committerLinus Walleij <linus.walleij@linaro.org>2018-12-14 15:18:47 +0100
commit92f45ebe68181c2d7f76633ffae55bc9447d62cd (patch)
tree28214d0c88609d65d3943b6e41d13ba5040f6219 /drivers/gpio/Kconfig
parent873d1e8e6fafabc7750e5ef0fe0289548f540f5b (diff)
downloadlinux-92f45ebe68181c2d7f76633ffae55bc9447d62cd.tar.bz2
gpio: pca953x: Fix AI overflow on PCAL6524
The PCAL_PINCTRL_MASK is too large. The extended register block on PCAL6524, which is the largest chip with this block, has the block limited to address range 0x40..0x7f. This is because the bit 7 in the command register is used for the Address Increment functionality. Trim the mask to 0x60 to match the datasheet and to prevent accidental overwrite of the AI bit. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/Kconfig')
0 files changed, 0 insertions, 0 deletions