]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
usb: add device connection/disconnection detection
authorVincent Palatin <vpalatin@chromium.org>
Mon, 4 May 2015 17:30:54 +0000 (11:30 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:39:39 +0000 (22:39 +0200)
commit82202b9732c415da052d96693b4dbfed5af8fde4
tree8cec513b3d3355cc3ac35661fc3b9079fbe89ca3
parentf6bdc5e22310f58cc8dfeab232861070d857aa56
usb: add device connection/disconnection detection

Provide a function to detect USB device insertion/removal in order to
avoid having to do USB enumeration in a tight loop when trying to detect
peripheral hotplugging.

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