]> asedeno.scripts.mit.edu Git - linux.git/commit
gpio: pci-idio-16: Implement get_multiple callback
authorWilliam Breathitt Gray <vilhelm.gray@gmail.com>
Thu, 22 Mar 2018 12:59:48 +0000 (08:59 -0400)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 26 Mar 2018 08:24:06 +0000 (10:24 +0200)
commit810ebfc5efca9a05c57e5d2bad0f944b0f24267d
tree0f84044673fe3c7e99d9246e8ac5bec5b8cd3762
parent15f59cfff92bcbbb67e1b7ebb4d10b845797bdeb
gpio: pci-idio-16: Implement get_multiple callback

The ACCES I/O PCI-IDIO-16 series of devices provides 16
optically-isolated digital inputs accessed via two 8-bit ports. Since
eight input lines are acquired on a single port input read, the
PCI-IDIO-16 GPIO driver may improve multiple input reads by utilizing a
get_multiple callback. This patch implements the
idio_16_gpio_get_multiple function which serves as the respective
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