summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2011-01-29 00:25:42 +0000
committerMichael Sevakis <jethead71@rockbox.org>2011-01-29 00:25:42 +0000
commita575ffb2711af7054c32a6fad4a86ff1e446c857 (patch)
treeea9a82a34cf58a2ebb1a26ba941c8c6e75dd2b35
parent088aaac9851d2529be2f4d2e0b301ed01b91a344 (diff)
AMSv2 USB: Delay after sftdiscon should be far longer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29154 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/target/arm/as3525/usb-drv-as3525v2.c2
1 files changed, 1 insertions, 1 deletions
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();