OSDN Git Service

USB: io_ti: Increase insufficient timeout for firmware downloads
authorPeter E. Berger <pberger@brimson.com>
Fri, 31 Jul 2015 06:55:05 +0000 (01:55 -0500)
committerJohan Hovold <johan@kernel.org>
Fri, 31 Jul 2015 09:57:31 +0000 (11:57 +0200)
commitc3ece7e70dd8fab4fd3e4b9a74ad2df4cfa22e11
tree5e9c8d0207810d1efcc6258f0673c6d774a51cd8
parent49bda21266fdf195142e8b5dea057f09e96ada9f
USB: io_ti: Increase insufficient timeout for firmware downloads

The io_ti driver fails to download firmware to Edgeport devices such as
the EP/416 and EP/421 (devices with on-board E2PROM).  One of the problems
is that the default 1 second timeout in ti_vsend_sync() is insufficient
for download operations.  This patch increases the download timeout to
10 seconds.

Signed-off-by: Peter E. Berger <pberger@brimson.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/io_ti.c