]> Git Repo - linux.git/commit
gpiolib: Pass array info to get/set array functions
authorJanusz Krzysztofik <[email protected]>
Wed, 5 Sep 2018 21:50:07 +0000 (23:50 +0200)
committerLinus Walleij <[email protected]>
Thu, 13 Sep 2018 09:16:54 +0000 (11:16 +0200)
commit77588c14ac868caece82fddbfae7de03b2cec941
treea3a12bd5ee612c4ca5143f744cc6de1449221a03
parentbf9346f5d47b4506aafbc384dfb5796b0adc3f8d
gpiolib: Pass array info to get/set array functions

In order to make use of array info obtained from gpiod_get_array() and
speed up processing of arrays matching single GPIO chip layout, that
information must be passed to get/set array functions.  Extend the
functions' API with that additional parameter and update all users.
Pass NULL if a user builds an array itself from single GPIOs.

Cc: Jonathan Corbet <[email protected]>
Cc: Miguel Ojeda Sandonis <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Cc: Sebastien Bourdelin <[email protected]>
Cc: Lukas Wunner <[email protected]>
Cc: Peter Korsgaard <[email protected]>
Cc: Peter Rosin <[email protected]>
Cc: Andrew Lunn <[email protected]>
Cc: Florian Fainelli <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: Rojhalat Ibrahim <[email protected]>
Cc: Dominik Brodowski <[email protected]>
Cc: Russell King <[email protected]>
Cc: Kishon Vijay Abraham I <[email protected]>
Cc: Tony Lindgren <[email protected]>
Cc: Lars-Peter Clausen <[email protected]>
Cc: Michael Hennerich <[email protected]>
Cc: Jonathan Cameron <[email protected]>
Cc: Hartmut Knaack <[email protected]>
Cc: Peter Meerwald-Stadler <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Jiri Slaby <[email protected]>
Cc: Yegor Yefremov <[email protected]>
Cc: Uwe Kleine-König <[email protected]>
Signed-off-by: Janusz Krzysztofik <[email protected]>
Acked-by: Ulf Hansson <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
15 files changed:
Documentation/driver-api/gpio/consumer.rst
drivers/auxdisplay/hd44780.c
drivers/bus/ts-nbus.c
drivers/gpio/gpio-max3191x.c
drivers/gpio/gpiolib.c
drivers/gpio/gpiolib.h
drivers/i2c/muxes/i2c-mux-gpio.c
drivers/mmc/core/pwrseq_simple.c
drivers/mux/gpio.c
drivers/net/phy/mdio-mux-gpio.c
drivers/pcmcia/soc_common.c
drivers/phy/motorola/phy-mapphone-mdm6600.c
drivers/staging/iio/adc/ad7606.c
drivers/tty/serial/serial_mctrl_gpio.c
include/linux/gpio/consumer.h
This page took 0.062508 seconds and 4 git commands to generate.