summaryrefslogtreecommitdiff
path: root/drivers/usb/Kconfig
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2017-09-13 11:19:43 +0300
committerMarek Vasut <marek.vasut+renesas@gmail.com>2017-09-27 13:12:23 +0300
commit2e5026a2f022f1c5ab5e879684a895ccdca7690c (patch)
tree63cc990a52fa66928d79a580bc87b3ee813e0301 /drivers/usb/Kconfig
parent6e652e3a7d15b896fd82b717c6eca74b70a33b7a (diff)
downloadu-boot-2e5026a2f022f1c5ab5e879684a895ccdca7690c.tar.xz
usb: kbd: Set a default polling mechanism for USB keyboard
The choice of "USB keyboard polling" cannot be optional as without one mechanism being set, it just doesn't work. Set the default one to CONFIG_SYS_USB_EVENT_POLL. Fixes: ecad7051 ("configs: Migrate all of the existing USB symbols, except fastboot") Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers/usb/Kconfig')
-rw-r--r--drivers/usb/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/Kconfig b/drivers/usb/Kconfig
index 62126aad2f..e7658b4d95 100644
--- a/drivers/usb/Kconfig
+++ b/drivers/usb/Kconfig
@@ -75,7 +75,7 @@ if USB_KEYBOARD
choice
prompt "USB keyboard polling"
- optional
+ default SYS_USB_EVENT_POLL
---help---
Enable a polling mechanism for USB keyboard.