aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-bridge.h
diff options
context:
space:
mode:
authorPaul Thomas <[email protected]>2020-01-25 17:14:10 -0500
committerLinus Walleij <[email protected]>2020-02-10 12:52:34 +0100
commitc3afa804c58e5c30ac63858b527fffadc88bce82 (patch)
tree82078e0024fdb609830262f00c7763cb53819c99 /include/linux/fpga/fpga-bridge.h
parentdee7c111a458115daecb74a6e3b707260e64e983 (diff)
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: [email protected] Signed-off-by: Paul Thomas <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions