commit | 08f3bb0bcd84b57cc627ab0acda8aebacf27544e | [log] [tgz] |
---|---|---|
author | Vincent Palatin <vpalatin@chromium.org> | Mon May 04 11:30:54 2015 -0600 |
committer | Simon Glass <sjg@chromium.org> | Thu May 14 18:49:33 2015 -0600 |
tree | bf28622599d080f8c11754a53a6f8387a5529177 | |
parent | 6a72e804a2b27e95cc7394876cc6a57f29e70817 [diff] |
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>