Re: drivers/usb/misc/iowarrior.c : timeouts too small in usb_control_msg calls

Eberhard Fahle <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Thursday 05 April 2007 11:13:21 Eberhard Fahle wrote:
> 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.
>
> I added a patch for this, but I'm unable to test it against 2.6.21-rc5. I
> stumbled across this problem when doing a backport of the driver for Kernel
> 2.6.20. (The patch works fine here)
> ------------------------------------------------
> The patch also removes a useless debug statement, which was left over from
> testing a broken firmware version

Just wondering....

Is there a reason why this problem hasn't been fixed in either 2.6.21-rc6 or 
2.6.21-rc7?

Eberhard Fahle


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.