Searched hist:"461 c1a7d" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/linux/gpio/ |
H A D | driver.h | 461c1a7d Sat Sep 08 04:23:17 CDT 2018 Hans Verkuil <hans.verkuil@cisco.com> gpiolib: override irq_enable/disable
When using the gpiolib irqchip helpers install irq_enable/disable hooks for the irqchip to ensure that gpiolib knows when the irq is enabled or disabled, allowing drivers to disable the irq and then use it as an output pin, and later switch the direction to input and re-enable the irq.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> 461c1a7d Sat Sep 08 04:23:17 CDT 2018 Hans Verkuil <hans.verkuil@cisco.com> gpiolib: override irq_enable/disable When using the gpiolib irqchip helpers install irq_enable/disable hooks for the irqchip to ensure that gpiolib knows when the irq is enabled or disabled, allowing drivers to disable the irq and then use it as an output pin, and later switch the direction to input and re-enable the irq. 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 | 461c1a7d Sat Sep 08 04:23:17 CDT 2018 Hans Verkuil <hans.verkuil@cisco.com> gpiolib: override irq_enable/disable
When using the gpiolib irqchip helpers install irq_enable/disable hooks for the irqchip to ensure that gpiolib knows when the irq is enabled or disabled, allowing drivers to disable the irq and then use it as an output pin, and later switch the direction to input and re-enable the irq.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
|