]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: virtio: Add IRQ support
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 21 Oct 2021 11:04:19 +0000 (16:34 +0530)
committerBartosz Golaszewski <brgl@bgdev.pl>
Thu, 4 Nov 2021 15:34:29 +0000 (16:34 +0100)
commit7d7ef4f6e363cd0899e66eef3a7eb4140a0036d1
tree05c7171fd0c5edb8d6f15c0457ed1bf424ff3b2b
parenta18c3fdad964c287e149c4e9413f6814cc1eb910
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>
drivers/gpio/Kconfig
drivers/gpio/gpio-virtio.c
include/uapi/linux/virtio_gpio.h