On 03/04/2016 04:44 PM, Jimmy Zhang wrote:
It has been observed that some times USB time out could occure when a long (3ft) usb cable is connected to recovery mode usb port
This explanation makes no sense. 3ft is practically the shortest USB cable anyone would use. Equally, assuming a compliant correctly functioning cable, cable length doesn't affect the time it takes to execute transactions.
Is the issue more that if a low quality cable is used, then there are lots of transfer errors, and the time taken for retries is large? If so, there's not much guarantee that a larger timeout would help in general, since there's no guarantee of any upper bound on the time it takes for a packet not to get corrupted in this case. Still, I suppose it's fine to increase the timeout to account for when it accidentally works.
In summary: a commit description that more accurately represents the problem being solved is required.
-- To unsubscribe from this list: send the line "unsubscribe linux-tegra" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html