summaryrefslogtreecommitdiffstats
path: root/drivers/input/Kconfig
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2021-06-22 10:26:10 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2021-06-25 09:30:33 +0200
commit774edc56bf15143050d1002cf5d7fd89ce00135d (patch)
tree7ae963c432b3903ef291191216774d15cfdc43e8 /drivers/input/Kconfig
parent30a5e60e7d23fba9c5c12ff93c022a6c236dd01f (diff)
downloadbarebox-774edc56bf15143050d1002cf5d7fd89ce00135d.tar.gz
barebox-774edc56bf15143050d1002cf5d7fd89ce00135d.tar.xz
input: virtio: poll from poller, not bthread
With the upcoming move of bthreads to be scheduled only in command context, long running tasks (i.e. bareDOOM) may no longer process VirtIO input in a timely manner. Move the input polling into a poller, so input can once again be processed between frames. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20210622082617.18011-2-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/input/Kconfig')
-rw-r--r--drivers/input/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/input/Kconfig b/drivers/input/Kconfig
index ff3e9d33f6..ba9fa25a3d 100644
--- a/drivers/input/Kconfig
+++ b/drivers/input/Kconfig
@@ -73,7 +73,8 @@ config INPUT_SPECIALKEYS
config VIRTIO_INPUT
bool "Virtio input driver"
- depends on VIRTIO && BTHREAD
+ depends on VIRTIO
+ select POLLER
select INPUT
help
This driver supports virtio keyboard input devices.