gpio: virtio: remove timeout
authorVincent Whitchurch <vincent.whitchurch@axis.com>
Mon, 20 Dec 2021 13:06:56 +0000 (14:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Dec 2021 11:28:43 +0000 (12:28 +0100)
commit1f0d95fb3755c9ced828377bf73a4efb7d4e13be
treee55b2138a1f8051c0ced095f4f3c3c6a8f9ece1d
parent6b3f7e4b10f343f05b5fb513b07a9168fbf1172e
gpio: virtio: remove timeout

[ Upstream commit 3e4d9a485029aa9e172dab5420abe775fd86f8e8 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpio/gpio-virtio.c