]> asedeno.scripts.mit.edu Git - linux.git/commit
gpio: gpio-mm: Implement get_multiple callback
authorWilliam Breathitt Gray <vilhelm.gray@gmail.com>
Thu, 22 Mar 2018 13:00:42 +0000 (09:00 -0400)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 26 Mar 2018 08:27:31 +0000 (10:27 +0200)
commit41b251318a6359848eef98b630ed578fad2cfbe6
treeb20fd40e0c99f00dc497cc8eebe1b2ee56e92332
parentf72b10713cf5a9f6a425bdbd8da093cb02990d4d
gpio: gpio-mm: Implement get_multiple callback

The Diamond Systems GPIO-MM series of devices contain two 82C55A
devices, which each feature three 8-bit ports of I/O. Since eight input
lines are acquired on a single port input read, the GPIO-MM GPIO driver
may improve multiple input reads by utilizing a get_multiple callback.
This patch implements the gpiomm_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-gpio-mm.c