diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2011-01-29 00:25:42 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2011-01-29 00:25:42 +0000 |
commit | a575ffb2711af7054c32a6fad4a86ff1e446c857 (patch) | |
tree | ea9a82a34cf58a2ebb1a26ba941c8c6e75dd2b35 | |
parent | 088aaac9851d2529be2f4d2e0b301ed01b91a344 (diff) | |
download | rockbox-a575ffb2711af7054c32a6fad4a86ff1e446c857.tar.gz rockbox-a575ffb2711af7054c32a6fad4a86ff1e446c857.zip |
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.c | 2 |
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) | |||
160 | { | 160 | { |
161 | /* Disconnect */ | 161 | /* Disconnect */ |
162 | DCTL |= DCTL_sftdiscon; | 162 | DCTL |= DCTL_sftdiscon; |
163 | usb_delay(); | 163 | sleep(HZ/20); |
164 | /* Disable clock */ | 164 | /* Disable clock */ |
165 | CGU_USB = 0; | 165 | CGU_USB = 0; |
166 | usb_delay(); | 166 | usb_delay(); |