mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 21:25:19 -05:00
sd-as3525v2: exit with error if transfer failure
Change-Id: Ic94cf7d3e058a876bbafdb5a35f26f240e1384fd
This commit is contained in:
parent
2d8a785bc7
commit
e65478c693
1 changed files with 3 additions and 0 deletions
|
|
@ -925,6 +925,9 @@ sd_transfer_retry_with_reinit:
|
||||||
;
|
;
|
||||||
if (--retry_data >= 0)
|
if (--retry_data >= 0)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
ret -= 24;
|
||||||
|
goto sd_transfer_error;
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue