u-boot-brain/drivers/usb/host
Stephen Warren 49b4c5c700 usb: ehci: remember init mode
When an EHCI device is registered in device mode, the HW isn't actually
initialized at all, and hence isn't left in a running state. Consequently,
when the device is deregistered, ehci_shutdown() will fail, since the HW
bits it expects to see set in response to its shutdown requests will not
be sent, and the message "EHCI failed to shut down host controller." will
be printed.

Fix ehci-hcd.c to remember whether the device was registered in host or
device mode, and only call ehci_shutdown() for host mode registrations.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
2015-09-07 13:41:05 +02:00
..
dwc2.c usb: dwc2: Rename to dwc2_usb 2015-08-19 22:31:39 +02:00
dwc2.h usb: dwc2: Add support for v3 snpsid value 2015-05-29 12:41:04 +02:00
ehci-armada100.c
ehci-atmel.c
ehci-exynos.c dm: usb: exynos: Drop legacy USB code 2015-05-06 14:00:35 -06:00
ehci-faraday.c dm: usb: Drop the EHCI weak functions 2015-04-18 11:11:24 -06:00
ehci-fsl.c drivers: usb: fsl: Return if USB_MAX_CONTROLLER_COUNT is incorrect 2015-06-07 15:46:02 +02:00
ehci-hcd.c usb: ehci: remember init mode 2015-09-07 13:41:05 +02:00
ehci-marvell.c arm: mvebu: add multiple usb-hostcontroller support for AXP 2015-08-17 18:49:15 +02:00
ehci-mpc512x.c
ehci-mx5.c dm: usb: Drop the EHCI weak functions 2015-04-18 11:11:24 -06:00
ehci-mx6.c imx: usb: ehci-mx6: wait_for_bit to check reg status 2015-08-19 22:30:20 +02:00
ehci-mxc.c
ehci-mxs.c
ehci-omap.c
ehci-pci.c dm: usb: Add driver-model support to ehci-pci 2015-07-21 17:39:40 -06:00
ehci-ppc4xx.c
ehci-rmobile.c
ehci-spear.c usb: spear: Add support for both SPEAr600 EHCI controllers 2015-08-19 22:30:20 +02:00
ehci-sunxi.c sunxi: usb-phy: Never power off the usb ports 2015-08-08 16:26:19 +02:00
ehci-tegra.c dm: Use dev_get_addr() where possible 2015-08-31 07:57:26 -06:00
ehci-uniphier.c ARM: UniPhier: replace <asm/io.h> with <linux/io.h> 2015-05-31 02:53:56 +09:00
ehci-vct.c
ehci-vf.c usb: ehci-vf: Add weak function for board specific initialisation 2015-06-08 08:41:56 +02:00
ehci-zynq.c
ehci.h usb: ehci: remember init mode 2015-09-07 13:41:05 +02:00
isp116x-hcd.c
isp116x.h
Kconfig arm: mx6: usb: kconfig: add USB_EHCI_MX6 kconfig option 2015-08-02 10:51:39 +02:00
Makefile imx: usb: ehci-mx6: add usb support for imx7d soc 2015-08-19 22:30:20 +02:00
ohci-at91.c
ohci-da8xx.c
ohci-ep93xx.c
ohci-hcd.c usb: ohci: enable cache support 2015-08-12 20:47:48 -04:00
ohci-lpc32xx.c usb: lpc32xx: add host USB driver 2015-08-18 13:45:57 -04:00
ohci-s3c24xx.c
ohci-s3c24xx.h
ohci-sunxi.c sunxi: usb-phy: Never power off the usb ports 2015-08-08 16:26:19 +02:00
ohci.h usb: ohci: enable cache support 2015-08-12 20:47:48 -04:00
r8a66597-hcd.c usb: Update some EHCI driver licenses to use SPDX 2015-07-21 17:39:38 -06:00
r8a66597.h usb: Update some EHCI driver licenses to use SPDX 2015-07-21 17:39:38 -06:00
sl811-hcd.c
sl811.h
usb-sandbox.c dm: usb: sandbox: Add a driver for sandbox 2015-04-18 11:11:26 -06:00
usb-uclass.c usb: USB storage-specific part ifdef in uclass 2015-08-05 17:20:34 +02:00
utmi-armada100.c
xhci-dwc3.c drivers: usb: fsl: Implement Erratum A-009116 for XHCI controller 2015-07-22 08:55:45 +02:00
xhci-exynos5.c dm: Use dev_get_addr() where possible 2015-08-31 07:57:26 -06:00
xhci-fsl.c drivers: usb: fsl: Remove LS102XA immap inclusion 2015-07-22 08:55:45 +02:00
xhci-keystone.c usb: xhci: keystone: Remove common dwc3 drv functions calls 2015-07-22 08:55:44 +02:00
xhci-mem.c dm: usb: Support driver model in XHCI 2015-04-18 11:11:28 -06:00
xhci-omap.c usb: host: xhci-omap: invoke board_usb_cleanup in xhci_hcd_stop 2015-08-19 22:30:31 +02:00
xhci-pci.c
xhci-ring.c dm: usb: xhci: Use a function to get xhci_ctrl 2015-04-18 11:11:28 -06:00
xhci-uniphier.c ARM: UniPhier: replace <asm/io.h> with <linux/io.h> 2015-05-31 02:53:56 +09:00
xhci.c usb: xhci: Fix a potential NULL pointer dereference 2015-08-19 22:30:20 +02:00
xhci.h dm: usb: Support driver model in XHCI 2015-04-18 11:11:28 -06:00