diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2011-03-21 20:41:53 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2011-03-21 20:41:53 +0000 |
commit | 6bf0f653884948ba7952c1703159bf406b4d91a9 (patch) | |
tree | 463b4d112bec5cf81d6f1245a5f2e55b63dd6538 /firmware/target/arm/as3525/sd-as3525v2.c | |
parent | 4823b2b1c0b40a3b7068a236bbd8cdabb78f4ff1 (diff) | |
download | rockbox-6bf0f653884948ba7952c1703159bf406b4d91a9.tar.gz rockbox-6bf0f653884948ba7952c1703159bf406b4d91a9.zip |
AMSv2 SD: use a sleep instead of a udelay for 100 ms delay
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29627 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/as3525/sd-as3525v2.c')
-rw-r--r-- | firmware/target/arm/as3525/sd-as3525v2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/sd-as3525v2.c b/firmware/target/arm/as3525/sd-as3525v2.c index b0808ca1d3..6e1e2f480b 100644 --- a/firmware/target/arm/as3525/sd-as3525v2.c +++ b/firmware/target/arm/as3525/sd-as3525v2.c | |||
@@ -564,7 +564,7 @@ static int sd_init_card(const int drive) | |||
564 | problems with some SD cards (particularly 16 GB and bigger cards). | 564 | problems with some SD cards (particularly 16 GB and bigger cards). |
565 | Preferably we should handle this properly instead of using a delay, | 565 | Preferably we should handle this properly instead of using a delay, |
566 | see also FS#11870. */ | 566 | see also FS#11870. */ |
567 | udelay(100000); | 567 | sleep(HZ/10); |
568 | 568 | ||
569 | /* We need to go back to STBY state now so we can read csd */ | 569 | /* We need to go back to STBY state now so we can read csd */ |
570 | /* CMD7 w/rca=0: Deselect card to put it in STBY state */ | 570 | /* CMD7 w/rca=0: Deselect card to put it in STBY state */ |