]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: virtio: remove timeout
authorVincent Whitchurch <vincent.whitchurch@axis.com>
Mon, 20 Dec 2021 13:06:56 +0000 (14:06 +0100)
committerBartosz Golaszewski <brgl@bgdev.pl>
Tue, 21 Dec 2021 15:22:58 +0000 (16:22 +0100)
commit52866e9d2889d4769d10ea7f63d6458aa1227bce
tree259112bb4f131f59de2dd1ec1216bd5bddf2239b
parent3e1c0e515eadf2b31fb83604f5b26097de54a4ac
gpio: virtio: remove timeout

The driver imposes an arbitrary one second timeout on virtio requests,
but the specification doesn't prevent the virtio device from taking
longer to process requests, so remove this timeout to support all
systems and device implementations.

Fixes: bac8eacd87f71b580b8 ("gpio: Add virtio-gpio driver")
Signed-off-by: Vincent Whitchurch <vincent.whitchurch@axis.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
drivers/gpio/gpio-virtio.c