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

Commit 13c51c28 authored by Dov Levenglick's avatar Dov Levenglick
Browse files

usb: dwc3-msm: Update timeout value for EP command



The previous timeout value was explained as being
based on trial and error. We saw a timeout
as high as 800[us]. In order to be on the safe-side,
the new timeout value is increased to allow such a
delay with room for error


Change-Id: I7bc953d9bd494b57dd5492b492d48b18994e6b8f
Signed-off-by: default avatarDov Levenglick <dovl@codeaurora.org>
parent cd45ce66
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -393,7 +393,7 @@ int dwc3_send_gadget_ep_cmd(struct dwc3 *dwc, unsigned ep,
		unsigned cmd, struct dwc3_gadget_ep_cmd_params *params)
{
	struct dwc3_ep		*dep = dwc->eps[ep];
	u32			timeout = 500;
	u32			timeout = 1500;
	u32			reg;
	bool hsphy_suspend_enabled;
	int ret;