]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
usb: ohci: Re-enable commented out delay
authorAdam Ford <aford173@gmail.com>
Sun, 28 Apr 2019 21:45:25 +0000 (16:45 -0500)
committerMarek Vasut <marex@denx.de>
Fri, 3 May 2019 15:14:49 +0000 (17:14 +0200)
There is a delay function that was commented out.  This patch
re-enables it, because it will be needed for da850 ohci support.

Signed-off-by: Adam Ford <aford173@gmail.com>
drivers/usb/host/ohci-hcd.c

index 3b6f889f7b7a4df59b851303fd325b803f699a0b..2b0df88f49ecb0cbe580cda005fb89aee37f5d69 100644 (file)
@@ -1545,10 +1545,8 @@ static int submit_common_msg(ohci_t *ohci, struct usb_device *dev,
                return -1;
        }
 
-#if 0
        mdelay(10);
        /* ohci_dump_status(ohci); */
-#endif
 
        timeout = USB_TIMEOUT_MS(pipe);