diff mbox

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

Message ID 1500505956-31846-4-git-send-email-bmeng.cn@gmail.com
State Deferred
Delegated to: Marek Vasut
Headers show

Commit Message

Bin Meng July 19, 2017, 11:12 p.m. UTC
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@gmail.com>
---

Changes in v3: None

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

Patch

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.