usb: dwc2: Move phy init into core
authorJules Maselbas <jmaselbas@kalray.eu>
Fri, 5 Apr 2019 13:35:32 +0000 (15:35 +0200)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 3 May 2019 06:13:48 +0000 (09:13 +0300)
commit059d8d528718407435216251eff8b49935b92b34
tree3ddddd060d835412252dafd04e3af8ebb095d3ab
parent707d80f0a3c5fb58e61404277f6b103955fac294
usb: dwc2: Move phy init into core

As the phy initialization is almost the same in host and gadget
mode. This only move the phy initialization functions into core.c
for now, the goal is to share theses functions between the two modes.

Acked-by: Minas Harutyunyan <hminas@synopsys.com>
Signed-off-by: Jules Maselbas <jmaselbas@kalray.eu>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc2/core.c
drivers/usb/dwc2/core.h
drivers/usb/dwc2/hcd.c