usb: ehci-omap: Move omap_ehci_hcd_init to omap_ehci_probe
authorAdam Ford <aford173@gmail.com>
Sat, 19 Feb 2022 23:08:42 +0000 (17:08 -0600)
committerMarek Vasut <marex@denx.de>
Wed, 23 Feb 2022 04:25:17 +0000 (05:25 +0100)
commitac0c125b7e1ae028fff0d1528351a7272de9ec2b
tree92add69c555a850d9e601458a2490b5a254fa579
parent0935dbf4c9d97574d04e6d2e1bda2abd7135c073
usb: ehci-omap: Move omap_ehci_hcd_init to omap_ehci_probe

The OMAP3 hierarchy has the ehci node as a sub-node of the
usbhshost. The usbhshost node contains an ohci and an ehci
subnode.  The configuration of the ehci belongs in the
EHCI node and not its parent.  Move it to the proper probe.

usb start
  starting USB...
  Bus ehci@48064800: USB EHCI 1.00
  Bus usb_otg_hs@480ab000: Port not available.
  scanning bus ehci@48064800 for devices... 3 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found

Signed-off-by: Adam Ford <aford173@gmail.com>
drivers/usb/host/ehci-omap.c