• Eberhard Fahle's avatar
    USB: iowarrior.c: timeouts too small in usb_control_msg calls · 147c5a17
    Eberhard Fahle authored
    
    
    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: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    
    147c5a17