diff options
author | Eberhard Fahle <e.fahle@wayoda.org> | 2007-04-05 11:13:21 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-04-27 13:28:43 -0700 |
commit | 147c5a17338fc72a89452f0a6c14ae6fcf853919 (patch) | |
tree | 332c922a18dc351530979f226e56f103e2f7eb5a /drivers/usb/host | |
parent | a03c6facf84a51a04958d75ceef443108c44872d (diff) | |
download | op-kernel-dev-147c5a17338fc72a89452f0a6c14ae6fcf853919.zip op-kernel-dev-147c5a17338fc72a89452f0a6c14ae6fcf853919.tar.gz |
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 <e.fahle@wayoda.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host')
0 files changed, 0 insertions, 0 deletions