]> asedeno.scripts.mit.edu Git - linux.git/commit
gpio: pci-idio-16: Fix port memory offset for get_multiple callback
authorWilliam Breathitt Gray <vilhelm.gray@gmail.com>
Wed, 18 Apr 2018 12:53:10 +0000 (08:53 -0400)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 26 Apr 2018 22:55:16 +0000 (00:55 +0200)
commitaaf96e51de117cdfa2dc04735639895b46a3da3f
tree9d8055ff94df699543ae6a489e570327d0f1dd2a
parentf001cc351ad3309ec8736c374e90e5a4bc472d41
gpio: pci-idio-16: Fix port memory offset for get_multiple callback

The ioread8 function expects a memory offset argument. This patch fixes
the ports array to provide the memory addresses of the respective device
I/O registers.

Fixes: 810ebfc5efca ("gpio: pci-idio-16: Implement get_multiple callback")
Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-pci-idio-16.c