usb: properly re-initialize the USB keyboard.
authorVincent Palatin <vpalatin@chromium.org>
Sat, 11 May 2013 02:48:58 +0000 (19:48 -0700)
committerMarek Vasut <marex@denx.de>
Wed, 12 Jun 2013 20:22:50 +0000 (22:22 +0200)
commit09defbc75b46991b794f35957e986acbfe0c7946
treebc077c133035f46c4bff8119c0b9375f040bc97b
parente1208c2fe5e07f9a248cfbf9bbb212aa34ad2806
usb: properly re-initialize the USB keyboard.

Allow to reconfigure properly the USB keyboard driver when we enumerate
several times the USB devices and its position in the device tree has
changes.

Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Stefan Reinauer <reinauer@chromium.org>
Tested-by: Vincent Palatin <vpalatin@chromium.org>
common/usb_kbd.c