From e0b0af666a81f166397e3aebd26e9401ae48c97d Mon Sep 17 00:00:00 2001 From: Adam Ford Date: Sun, 28 Apr 2019 16:45:25 -0500 Subject: [PATCH 1/2] usb: ohci: Re-enable commented out delay 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 --- drivers/usb/host/ohci-hcd.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/ohci-hcd.c index 3b6f889f7b..2b0df88f49 100644 --- a/drivers/usb/host/ohci-hcd.c +++ b/drivers/usb/host/ohci-hcd.c @@ -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); From ff83e4c368f0155617e813d275d88192f05131e1 Mon Sep 17 00:00:00 2001 From: Adam Ford Date: Sun, 28 Apr 2019 16:45:26 -0500 Subject: [PATCH 2/2] ARM: davinci: Remove unused functions from header There are a few functions defined in the header file, but they are not referenced by any Davinci code. In order to make a general function in the future with static function declarations, this patch will remove the references all together. Signed-off-by: Adam Ford --- arch/arm/mach-davinci/include/mach/da8xx-usb.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/mach-davinci/include/mach/da8xx-usb.h b/arch/arm/mach-davinci/include/mach/da8xx-usb.h index 42e1258225..215706e172 100644 --- a/arch/arm/mach-davinci/include/mach/da8xx-usb.h +++ b/arch/arm/mach-davinci/include/mach/da8xx-usb.h @@ -86,7 +86,4 @@ struct da8xx_usb_regs { #define DA8XX_USB_VBUS_GPIO (1 << 15) -int usb_phy_on(void); -void usb_phy_off(void); - #endif /* __DA8XX_MUSB_H__ */