usb: dwc2: gadget: do not reset during core phy init
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Tue, 9 Jun 2020 10:34:27 +0000 (19:34 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 12 Nov 2024 04:03:16 +0000 (13:03 +0900)
commit04e5be2dbf14223c0bf3dab68a77430695790b0d
tree2e7a136554f5fbc82bd959e31bdc9fdf3f542772
parent659232cb72057c6af0815047228991ec1c631a1d
usb: dwc2: gadget: do not reset during core phy init

After the commit 1e868545f2bb ("usb: dwc2: gadget: Move gadget phy
init into core phy init"), dwc2 gadget mode with f_fs enumeration
is blocked from recent host kernel. It is because, the commit adds
more usb reset for gadget case, so do not reset during core phy
init for gadget.

Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
(cherry picked from commit a8cc687cf40f5c3781b23b08b3dd1ef978895449)
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Change-Id: I6c4850983a4f397ebc7b10191bf293e1c4eeebba
drivers/usb/dwc2/core.c