usb: dwc3: remove generic PHYs forwarding for XHCI device
authorMarek Szyprowski <m.szyprowski@samsung.com>
Fri, 19 Jul 2019 09:30:37 +0000 (11:30 +0200)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 9 Aug 2019 10:37:05 +0000 (13:37 +0300)
commit3cd703f483d1d8cfcd7fd6f304ab6fc74e29cf15
tree8507fa9778576b076f0fe62401f6df573e86223a
parent4749e0e61241cc121de572520a39dab365b9ea1d
usb: dwc3: remove generic PHYs forwarding for XHCI device

Commit 08f871a3aca2 ("usb: dwc3: host: convey the PHYs to xhci") added
forwarding of the generic PHYs from DWC3 core to the instantiated XHCI-plat
device. However XHCI(-plat) driver never gained support for generic PHYs,
thus the lookup added by that commit is never used. In meantime the commit
d64ff406e51e ("usb: dwc3: use bus->sysdev for DMA configuration")
incorrectly changed the device used for creating lookup, making the lookup
useless and generic PHYs inaccessible from XHCI device.

However since commit 178a0bce05cb ("usb: core: hcd: integrate the PHY
wrapper into the HCD core") USB HCD already handles generic PHYs acquired
from the HCD's 'sysdev', which in this case is DWC3 core device. This means
that creating any custom lookup entries for XHCI driver is no longer needed
and can be simply removed.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/host.c