commit | eae11bece69a277a25fefe54ea475ba02ede687e | [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 | e8ea5e8c8568c8cbb752e524e8eb74f776f5e262 [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>