]> asedeno.scripts.mit.edu Git - linux.git/commit
gpio: 104-dio-48e: Implement get_multiple callback
authorWilliam Breathitt Gray <vilhelm.gray@gmail.com>
Thu, 22 Mar 2018 13:00:11 +0000 (09:00 -0400)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 26 Mar 2018 08:26:14 +0000 (10:26 +0200)
commitd2d02bcdd52b889ec1bcabf8d0da6f3c2b87e9fc
treef004e1650334c2354f891b87b56391e7edb75b71
parentca37081595a2fa1d67c962d416392d36ae8d05ad
gpio: 104-dio-48e: Implement get_multiple callback

The ACCES I/O 104-DIO-48E series of devices contain two Programmable
Peripheral Interface (PPI) chips of type 82C55, which each feature three
8-bit ports of I/O. Since eight input lines are acquired on a single
port input read, the 104-DIO-48E GPIO driver may improve multiple input
reads by utilizing a get_multiple callback. This patch implements the
dio48e_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-104-dio-48e.c