commit | 35787d28c1cef8fc80dc91c2e56e91caa4827cf9 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Nov 08 23:48:00 2015 -0700 |
committer | Simon Glass <sjg@chromium.org> | Thu Nov 19 20:27:52 2015 -0700 |
tree | 1a15dfeb359a2329c0a1a7738b4cb7886e225ea8 | |
parent | 5082c693ff57033cbd39da89e43dd8c16cc928de [diff] |
dm: usb: Remove inactive children after a bus scan Each scan of the USB bus may return different results. Existing driver-model devices are reused when found, but if a device no longer exists it will stay around, de-activated, but bound. Detect these devices and remove them after the scan completes. Signed-off-by: Simon Glass <sjg@chromium.org>