USB: Make non-bulk delay longer in OHCI
authorMarek Vasut <marek.vasut@gmail.com>
Mon, 20 Sep 2010 01:57:25 +0000 (03:57 +0200)
committerRemy Bohmer <linux@bohmer.net>
Wed, 13 Oct 2010 10:07:58 +0000 (12:07 +0200)
This fixes TIMEOUT with my Kingston 32GB USB3.0 flashdrive, which I experienced
on my PXA270 (USB 1.1) Vpac270 board.

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
drivers/usb/host/ohci-hcd.c

index 3f76c4e9f00eec6ca493aef7deb615b83faee387..d2469789628b4924ae248ca56f5b403feded36fd 100644 (file)
@@ -1529,7 +1529,7 @@ int submit_common_msg(struct usb_device *dev, unsigned long pipe, void *buffer,
        if (usb_pipebulk(pipe))
                timeout = BULK_TO;
        else
-               timeout = 100;
+               timeout = 1000;
 
        /* wait for it to complete */
        for (;;) {