aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spmi
diff options
context:
space:
mode:
authorPaul Thomas <pthomas8589@gmail.com>2020-01-25 17:14:10 -0500
committerLinus Walleij <linus.walleij@linaro.org>2020-02-10 12:52:34 +0100
commitc3afa804c58e5c30ac63858b527fffadc88bce82 (patch)
tree82078e0024fdb609830262f00c7763cb53819c99 /drivers/spmi
parentMerge tag 'gpio-fixes-for-v5.6-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux into fixes (diff)
downloadlinux-dev-c3afa804c58e5c30ac63858b527fffadc88bce82.tar.xz
linux-dev-c3afa804c58e5c30ac63858b527fffadc88bce82.zip
gpio: xilinx: Fix bug where the wrong GPIO register is written to
Care is taken with "index", however with the current version the actual xgpio_writereg is using index for data but xgpio_regoffset(chip, i) for the offset. And since i is already incremented it is incorrect. This patch fixes it so that index is used for the offset too. Cc: stable@vger.kernel.org Signed-off-by: Paul Thomas <pthomas8589@gmail.com> Link: https://lore.kernel.org/r/20200125221410.8022-1-pthomas8589@gmail.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/spmi')
0 files changed, 0 insertions, 0 deletions