Re: [PATCH v2 1/1] usb: gadget: s3c-hsotg: fix core reset timeoutfailure

From: Felipe Balbi
Date: Mon Jul 23 2012 - 06:45:01 EST


Hi,

On Wed, Jul 04, 2012 at 10:50:30AM +0800, Du, Changbin wrote:
> The timeout values were 1000 and timeout issue occurred many times on my
>
> s3c6410 Soc based board (mostly when booting with USB cable not
>
> connected). This patch increase the values to 10000 to guarantee the
>
> success of reset.
>
>
>
> Having set timeout to 10000, I printed the remained timeout values
>
> which can cause timeout issue before this change (tested several times):
>
> the first timeout value remained:
>
> timeout = 8079
>
> timeout = 8079
>
> timeout = 8078
>
> timeout = 8081
>
> the second timeout value remained:
>
> timeout = 7940
>
> timeout = 7945
>
> timeout = 7940
>
> timeout = 7938
>
> Seeing from above values, I think 10000 is big enough.
>
>
>
> Signed-off-by: Du, Changbin changbin.du@xxxxxxxxx
>
> ---
>
> Changes for v2:
>
> Fixed wrapped line done by my mail client

now it' s even worse. Please use git send-email instead.

--
balbi

Attachment: signature.asc
Description: Digital signature