From 4ac53087d6d48e46e1cf4d0ca9ed9accdf9c928a Mon Sep 17 00:00:00 2001 From: Roger Quadros Date: Fri, 29 May 2015 17:01:47 +0300 Subject: [PATCH] usb: xhci: plat: Create both HCDs before adding them As xhci_hcd is now allocated by usb_create_hcd(), we don't need to add the primary HCD before creating the shared HCD. Creating the shared HCD before adding the primary HCD is particularly useful for the OTG use case so that we know at the OTG core if the HCD is in single configuration or dual (primary + shared) configuration. Signed-off-by: Roger Quadros [Mathias: rearranged to fit on top of the Marvell Armada 385 phy changes] Signed-off-by: Mathias Nyman Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed