diff options
author | Thierry Reding <treding@nvidia.com> | 2017-11-07 19:15:52 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-11-08 14:10:18 +0100 |
commit | dc7b0387ee894c115ef5ddcaaf794125d6d9058c (patch) | |
tree | 074cc9142cac12525fef1eda6ab86aa832a2cf26 /Documentation | |
parent | dc6bafee86897419b0908e8d1e52ef46ca0ea487 (diff) | |
download | op-kernel-dev-dc7b0387ee894c115ef5ddcaaf794125d6d9058c.zip op-kernel-dev-dc7b0387ee894c115ef5ddcaaf794125d6d9058c.tar.gz |
gpio: Move irq_valid_mask into struct gpio_irq_chip
In order to consolidate the multiple ways to associate an IRQ chip with
a GPIO chip, move more fields into the new struct gpio_irq_chip.
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>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/gpio/driver.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/gpio/driver.txt b/Documentation/gpio/driver.txt index dcf6af1..d8de1c7 100644 --- a/Documentation/gpio/driver.txt +++ b/Documentation/gpio/driver.txt @@ -313,8 +313,8 @@ symbol: mark all the child IRQs as having the other IRQ as parent. If there is a need to exclude certain GPIOs from the IRQ domain, you can -set .irq_need_valid_mask of the gpiochip before gpiochip_add_data() is -called. This allocates an .irq_valid_mask with as many bits set as there +set .irq.need_valid_mask of the gpiochip before gpiochip_add_data() is +called. This allocates an .irq.valid_mask with as many bits set as there are GPIOs in the chip. Drivers can exclude GPIOs by clearing bits from this mask. The mask must be filled in before gpiochip_irqchip_add() or gpiochip_irqchip_add_nested() is called. |