From: Alan Stern Date: Fri, 31 Jul 2009 14:41:40 +0000 (-0400) Subject: USB: EHCI: fix counting of transaction error retries X-Git-Tag: v2.6.27.46~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6758be586812a95341a06b04e780fdde9c252ba2;p=pandora-kernel.git USB: EHCI: fix counting of transaction error retries commit ef4638f955f2c4a667c8af20769d03f5ed3781ca upstream. This patch (as1274) simplifies the counting of transaction-error retries. Now we will count up from 0 to QH_XACTERR_MAX instead of down from QH_XACTERR_MAX to 0. The patch also fixes a small bug: qh->xacterr was not getting initialized for interrupt endpoints. Signed-off-by: Alan Stern Tested-by: Matthijs Kooijman Cc: Reinoud Koornstra Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed