ehci-hcd: Allow cleanups to happen gracefully on a timeout.
authorJoel Fernandes <agnel.joel@gmail.com>
Sat, 25 Jun 2011 18:42:47 +0000 (13:42 -0500)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sun, 4 Sep 2011 09:36:22 +0000 (11:36 +0200)
commit3ecfa9525c2d78a9a8d257a7fd664f61dd10fe21
treea1bfd649be568b6ecee274df6fdcf95c3427b374
parentde701d118380de12a48c8a4fb345e9f909329432
ehci-hcd: Allow cleanups to happen gracefully on a timeout.

With this, the EHCI seems to "recover" from a timeout. This is particularly
observable if you were to ping the wrong IP Address and then ping the correct
one or if there was a temporary failure during tftp sessions.

All it takes is one timeout to disable it. If you have a noisy network (lot
of traffic), even if the traffic is not for the board, the timeouts don't occur.

Signed-off-by: Joel A Fernandes <agnel.joel@gmail.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
drivers/usb/host/ehci-hcd.c