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)
commit3e4d9a485029aa9e172dab5420abe775fd86f8e8
tree259112bb4f131f59de2dd1ec1216bd5bddf2239b
parent9a5875f14b0e3a13ae314883f1bb72b7f31fac07
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: 3a29355a22c0275fe86 ("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