mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
AMS Sansa: Remove wait_for_state() following transfer in sd_select_bank() function.
We use wait_for_state() before any command that requires a state prior to being sent. Waiting after a transfer is not needed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23732 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
531da61df9
commit
9e9db20357
1 changed files with 0 additions and 3 deletions
|
|
@ -620,9 +620,6 @@ static int sd_select_bank(signed char bank)
|
|||
|
||||
dma_release();
|
||||
|
||||
ret = sd_wait_for_state(INTERNAL_AS3525, SD_TRAN);
|
||||
if (ret < 0)
|
||||
return ret - 4;
|
||||
} while(transfer_error[INTERNAL_AS3525]);
|
||||
|
||||
card_info[INTERNAL_AS3525].current_bank = (bank == -1) ? 0 : bank;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue