]> git.sur5r.net Git - u-boot/commitdiff
sunxi: Change usb-kbd interrupt polling to use an usb interrupt queue
authorHans de Goede <hdegoede@redhat.com>
Wed, 13 May 2015 12:42:18 +0000 (14:42 +0200)
committerSimon Glass <sjg@chromium.org>
Fri, 15 May 2015 00:49:36 +0000 (18:49 -0600)
Now that the ohci code supports usb interrupt queues we can switch (back)
to using an usb interrupt queue for usb-kbd interrupt polling. This
greatly reduces u-boot's latency when dealing with usb keyboards.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
Reviewed-by: Marek Vasut <marex@denx.de>
include/configs/sunxi-common.h

index 222e739461a165e121474b94f9ea9552891d4f28..2d6b81573970d5f3fa29eee6f6fbd30e06c9df46 100644 (file)
@@ -317,7 +317,7 @@ extern int soft_i2c_gpio_scl;
 #define CONFIG_CONSOLE_MUX
 #define CONFIG_PREBOOT
 #define CONFIG_SYS_STDIO_DEREGISTER
-#define CONFIG_SYS_USB_EVENT_POLL
+#define CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE
 #endif
 
 #if !defined CONFIG_ENV_IS_IN_MMC && \