[U-Boot] [PATCH v3 03/13] usb: kbd: kconfig: Set a default polling mechanism for USB keyboard

Bin Meng bmeng.cn at gmail.com
Wed Jul 19 23:12:26 UTC 2017


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.

Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
---

Changes in v3: None

 drivers/usb/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/Kconfig b/drivers/usb/Kconfig
index da3ec2f..acbac69 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.
 
-- 
2.9.2



More information about the U-Boot mailing list