]> 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)
commita8c161c64cd73b780878cc9ffe0e2599b9d3b806
tree259112bb4f131f59de2dd1ec1216bd5bddf2239b
parent036cfa8d557f1647df71165b6019f97f091c3ad7
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: 305f16e422b8555decb ("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