]> git.sur5r.net Git - u-boot/commit
usb: add device connection/disconnection detection
authorVincent Palatin <vpalatin@chromium.org>
Mon, 4 May 2015 17:30:54 +0000 (11:30 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 15 May 2015 00:49:33 +0000 (18:49 -0600)
commit08f3bb0bcd84b57cc627ab0acda8aebacf27544e
treebf28622599d080f8c11754a53a6f8387a5529177
parent6a72e804a2b27e95cc7394876cc6a57f29e70817
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