mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 20:55:17 -05:00
sd-as3525: wait 100µs before disabling SD clocks
test_disk doesn't freeze anymore when closing the file between writing & reading git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26164 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
54f08f3ab1
commit
627baea953
1 changed files with 4 additions and 0 deletions
|
|
@ -912,6 +912,10 @@ void sd_enable(bool on)
|
|||
}
|
||||
#endif /* defined(HAVE_HOTSWAP) && defined (HAVE_ADJUSTABLE_CPU_VOLTAGE) */
|
||||
|
||||
/* not sure why we have to wait, but without this, test_disk freezes
|
||||
* when closing the 300MB file which was just written to */
|
||||
udelay(100);
|
||||
|
||||
sd_enabled = false;
|
||||
|
||||
#ifdef HAVE_MULTIDRIVE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue