drivers: usb: dwc3: setup phy before dwc3 core soft reset
authorT Karthik Reddy <t.karthik.reddy@xilinx.com>
Wed, 1 May 2019 04:44:49 +0000 (10:14 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 8 Oct 2019 07:41:27 +0000 (09:41 +0200)
commit1a031d236a9eeb28ced5438242987ae6a45f3054
tree531db1ba839d2439455a9cb4aaf035847cf5073c
parent0d0fbc857c20c2c426dbf6d13185a1d549c1edeb
drivers: usb: dwc3: setup phy before dwc3 core soft reset

Phy setup should be done before dwc3 soft core reset as it is done
in linux & this fixes unreliable detection of usb cable on host side.

Signed-off-by: T Karthik Reddy <t.karthik.reddy@xilinx.com>
Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/usb/dwc3/core.c