gpio: Pass a flag to gpiochip_request_own_desc()
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 4 Sep 2018 11:31:45 +0000 (13:31 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 14 Dec 2018 13:24:33 +0000 (14:24 +0100)
commit21abf103818a4735e80fb0ab03934bed8ae9a028
tree39dcd84b5aff1baa384586280ead998356f6aa48
parent67566ae474e628c0077163d1e20d09d3e33b0ae3
gpio: Pass a flag to gpiochip_request_own_desc()

Before things go out of hand, make it possible to pass
flags when requesting "own" descriptors from a gpio_chip.
This is necessary if the chip wants to request a GPIO with
active low semantics, for example.

Cc: Janusz Krzysztofik <jmkrzyszt@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Jiri Kosina <jkosina@suse.cz>
Cc: Roger Quadros <rogerq@ti.com>
Reviewed-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/driver-api/gpio/driver.rst
arch/arm/mach-omap1/ams-delta-fiq.c
arch/arm/mach-omap1/board-ams-delta.c
drivers/gpio/gpio-mvebu.c
drivers/gpio/gpiolib-acpi.c
drivers/gpio/gpiolib.c
drivers/hid/hid-cp2112.c
drivers/memory/omap-gpmc.c
include/linux/gpio/driver.h