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: Dov Levenglick <dovl@codeaurora.org>
This commit is contained in:
Dov Levenglick 2013-12-11 20:43:34 +02:00 committed by David Keitel
parent 26f9c06e33
commit f80aca56b9

View file

@ -330,7 +330,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;
trace_dwc3_gadget_ep_cmd(dep, cmd, params);