Sansa AMS SD: relax requirement for APP_CMD response, some uSD cards seem to not set correctly the response bits

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23001 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2009-10-07 20:34:58 +00:00
parent 304d7175b9
commit 7cc6202c03

View file

@ -266,8 +266,7 @@ static int sd_init_card(const int drive)
return -2; return -2;
/* app_cmd */ /* app_cmd */
if( !send_cmd(drive, SD_APP_CMD, 0, MCI_RESP|MCI_ARG, &response) || if( !send_cmd(drive, SD_APP_CMD, 0, MCI_RESP|MCI_ARG, &response) )
!(response & (1<<5)) )
{ {
return -3; return -3;
} }