From a575ffb2711af7054c32a6fad4a86ff1e446c857 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Sat, 29 Jan 2011 00:25:42 +0000 Subject: AMSv2 USB: Delay after sftdiscon should be far longer. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29154 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/arm/as3525/usb-drv-as3525v2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/target/arm/as3525/usb-drv-as3525v2.c b/firmware/target/arm/as3525/usb-drv-as3525v2.c index 2ea90f9e94..61fff0550e 100644 --- a/firmware/target/arm/as3525/usb-drv-as3525v2.c +++ b/firmware/target/arm/as3525/usb-drv-as3525v2.c @@ -160,7 +160,7 @@ static void as3525v2_disconnect(void) { /* Disconnect */ DCTL |= DCTL_sftdiscon; - usb_delay(); + sleep(HZ/20); /* Disable clock */ CGU_USB = 0; usb_delay(); -- cgit v1.2.3