USB: move keyboard polling into kbd driver
authoramartin@nvidia.com <amartin@nvidia.com>
Tue, 20 Dec 2011 14:56:16 +0000 (14:56 +0000)
committerWolfgang Denk <wd@denx.de>
Sat, 3 Mar 2012 15:56:29 +0000 (16:56 +0100)
commitf9636e8d38abde096fbb32fee5a36bbdb02b7cae
tree7b09e54faa06756e07ae31a7a9c08ee4b780492d
parentfb3ef649ed5cf3e5e73aea6ed161cdde37cb7a5f
USB: move keyboard polling into kbd driver

This moves keyboard polling logic from USB HCD drivers into USB
keyboard driver.  Remove usb_event_poll() as keyboard polling was
the only user of this API.  With this patch USB keyboard works with
EHCI controllers again.  Tested on a tegra2 seaboard.

Signed-off-by: Allen Martin <amartin@nvidia.com>
common/usb_kbd.c
drivers/usb/host/ehci-hcd.c
drivers/usb/host/ohci-hcd.c
drivers/usb/host/r8a66597-hcd.c
drivers/usb/musb/musb_hcd.c
include/usb.h