u-boot-brain/drivers/usb
Simon Glass 9b9775687f dm: usb: Unbind old block devices when shutting down USB
When 'usb start' is used, block devices are created for any USB flash sticks
and disks, etc. When 'usb stop' is used, these block devices are currently
not removed.

We don't want old block devices hanging around since they can still be
visible to U-Boot. Therefore, when USB is shut down, remove and unbind all
the block devices created by the USB subsystem.

Possibly we should unbind all devices which don't cause problems by being
unbound. Most likely we can remove everything except USB controllers, hubs
and emulators. We can consider that later.

Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Stephen Warren <swarren@nvidia.com>
2016-03-17 21:27:39 -06:00
..
dwc3 bug.h: move BUILD_BUG_* defines to include/linux/bug.h 2016-01-25 10:39:59 -05:00
emul usb: sandbox: Add a USB emulation driver 2015-11-19 20:27:52 -07:00
eth usb: eth: fix memalign() parameter order 2016-02-24 19:12:33 +01:00
gadget usb: gadget: composite: Correct recovery path for register 2016-03-01 14:47:26 +01:00
host dm: usb: Unbind old block devices when shutting down USB 2016-03-17 21:27:39 -06:00
musb Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
musb-new usb: musb-new: omap2430: OMAP4 MUSB USB controller support 2016-03-15 15:12:51 -04:00
phy usb: xhci: omap: Remove common dwc3 drv functions calls 2015-07-22 08:55:44 +02:00
ulpi Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
Kconfig usb: musb-new: Kconfig support for USB_MUSB_HOST and USB_MUSB_GADGET 2015-08-05 17:20:34 +02:00