diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2021-10-21 16:34:19 +0530 |
---|---|---|
committer | Bartosz Golaszewski <brgl@bgdev.pl> | 2021-11-04 16:34:29 +0100 |
commit | eff5cdd745a68863a73095b0b4d62d15e0d9d902 (patch) | |
tree | 05c7171fd0c5edb8d6f15c0457ed1bf424ff3b2b /drivers/gpio/Kconfig | |
parent | 585a07079909ba9061ddd88214c36653e1aef71a (diff) | |
download | linux-eff5cdd745a68863a73095b0b4d62d15e0d9d902.tar.bz2 |
gpio: virtio: Add IRQ support
This patch adds IRQ support for the virtio GPIO driver. Note that this
uses the irq_bus_lock/unlock() callbacks, since those operations over
virtio may sleep.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r-- | drivers/gpio/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 02eb9f647926..072ed610f9c6 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -1686,6 +1686,7 @@ config GPIO_MOCKUP config GPIO_VIRTIO tristate "VirtIO GPIO support" depends on VIRTIO + select GPIOLIB_IRQCHIP help Say Y here to enable guest support for virtio-based GPIO controllers. |