Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 89a1dc2f authored by Ivaylo Georgiev's avatar Ivaylo Georgiev
Browse files

Revert "usb: dwc3: gadget: Fix OTG events when gadget driver isn't loaded"



This reverts commit 1e55e3f6.

This is a preparation change for merging android-4.19.34 into
msm-4.19 branch.

This change was introduced for SNPS core configured for OTG 2.0 only, which
does not hold true for qcom socs. It leads to unclocked register access.

Change-Id: I039fae6ca5b6f561f99f73bb892c68cb62c7a7df
Signed-off-by: default avatarHemant Kumar <hemantk@codeaurora.org>
Signed-off-by: default avatarIvaylo Georgiev <irgeorgiev@codeaurora.org>
parent d885da67
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -3233,8 +3233,6 @@ int dwc3_gadget_init(struct dwc3 *dwc)
		goto err4;
	}

	dwc3_gadget_set_speed(&dwc->gadget, dwc->maximum_speed);

	return 0;

err4: