AMSv2 SD: Fix card insert lockups in USB mode. First, get rid of infinite loops and...
commit45ef666786c73806f486b70e0dffded19d18ce0b
authorjethead71 <jethead71@a1c6a512-1295-4272-9138-f99709370657>
Sat, 29 Jan 2011 16:54:36 +0000 (29 16:54 +0000)
committerjethead71 <jethead71@a1c6a512-1295-4272-9138-f99709370657>
Sat, 29 Jan 2011 16:54:36 +0000 (29 16:54 +0000)
treea997eee450ed119bfb2b1c17a23759f1e72ccde2
parent01e8f321be2d223c309452d8c30c7fd0a4c4c860
AMSv2 SD: Fix card insert lockups in USB mode. First, get rid of infinite loops and retry those a limited number of times-- no explaination for their dubious existence was offered in the source. Second, SD thread was no longer monitoring inserts (and it wouldn't really matter if it were). Thus, .initialized was reported as '1' despite the new card needing reinit.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29169 a1c6a512-1295-4272-9138-f99709370657
firmware/target/arm/as3525/sd-as3525v2.c