Searched hist:"4 e6b8238" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/linux/gpio/ |
H A D | driver.h | 4e6b8238 Sat Sep 08 04:23:14 CDT 2018 Hans Verkuil <hans.verkuil@cisco.com> gpiolib: export gpiochip_irq_reqres/relres()
GPIO drivers that do not use GPIOLIB_IRQCHIP can hook these into the irq_request_resource and irq_release_resource callbacks of the irq_chip so they correctly 'get' the module and lock the gpio line for IRQ use.
This will simplify driver code.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> 4e6b8238 Sat Sep 08 04:23:14 CDT 2018 Hans Verkuil <hans.verkuil@cisco.com> gpiolib: export gpiochip_irq_reqres/relres() GPIO drivers that do not use GPIOLIB_IRQCHIP can hook these into the irq_request_resource and irq_release_resource callbacks of the irq_chip so they correctly 'get' the module and lock the gpio line for IRQ use. This will simplify driver code. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
|
/openbmc/linux/drivers/gpio/ |
H A D | gpiolib.c | 4e6b8238 Sat Sep 08 04:23:14 CDT 2018 Hans Verkuil <hans.verkuil@cisco.com> gpiolib: export gpiochip_irq_reqres/relres()
GPIO drivers that do not use GPIOLIB_IRQCHIP can hook these into the irq_request_resource and irq_release_resource callbacks of the irq_chip so they correctly 'get' the module and lock the gpio line for IRQ use.
This will simplify driver code.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
|