linux-sg2042/include/linux/gpio
Thierry Reding 60ed54cae8 gpio: Disambiguate struct gpio_irq_chip.nested
The nested field in struct gpio_irq_chip currently has two meanings. On
one hand it marks an IRQ chip as being nested (as opposed to chained),
while on the other hand it also means that an IRQ chip uses nested
thread handlers.

However, nested IRQ chips can already be identified by the fact that
they don't pass a parent handler (the driver would instead already have
installed a nested handler using request_irq()).

Therefore, the only use for the nested attribute is to inform gpiolib
that an IRQ chip uses nested thread handlers (as opposed to regular,
non-threaded handlers). To clarify its purpose, rename the field to
"threaded".

Signed-off-by: Thierry Reding <treding@nvidia.com>
Acked-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2017-11-08 14:16:06 +01:00
..
consumer.h gpio: Introduce ->get_multiple callback 2017-10-19 22:32:39 +02:00
driver.h gpio: Disambiguate struct gpio_irq_chip.nested 2017-11-08 14:16:06 +01:00
gpio-reg.h gpio: gpio-reg: add irq mapping for gpio-reg users 2017-03-24 14:05:00 +01:00
machine.h gpio: Fix loose spelling 2017-10-20 09:37:32 +02:00