From: Eberhard Fahle Date: Thu, 5 Apr 2007 09:13:21 +0000 (+0200) Subject: USB: iowarrior.c: timeouts too small in usb_control_msg calls X-Git-Tag: v2.6.22-rc1~1117^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=147c5a17338fc72a89452f0a6c14ae6fcf853919;p=pandora-kernel.git USB: iowarrior.c: timeouts too small in usb_control_msg calls The driver uses usb_control_msg() for exchanging data with the device. When the driver lived freeley _outside_ the kernel tree (pre 2.6.21) the timeouts for these calls where set to 5*HZ for reading, 1HZ for writing. (These timeouts seemed to work fine for all users of the driver, at least nobody complained in the last 2 years. The current code (2.6.21-rc5) removed the 'HZ' from the timeouts and left the driver with 5 jiffies for reading and 1 jiffy for writing. My new machine is fast, but not that fast. The patch also removes a useless debug statement, which was left over from testing a broken firmware version From: Eberhard Fahle Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed