mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-07-10 13:29:52 -04:00
Revert "pp5020: ata: do not yield in ata_wait_intrq()"
This reverts commit e13befb925.
Reason for revert: Significant performance regressions, especially with respect to UI interactivity when the database is in use; see https://forums.rockbox.org/index.php/topic,55703.0.html
Change-Id: I0428711871480b74f7faeecb0536f7ed63f631cc
This commit is contained in:
parent
7d3f738b3f
commit
4c60fe95fc
1 changed files with 1 additions and 0 deletions
|
|
@ -154,6 +154,7 @@ static ICODE_ATTR int ata_wait_intrq(void)
|
|||
if (IDE0_CFG & IDE_CFG_INTRQ)
|
||||
return 1;
|
||||
ata_keep_active();
|
||||
yield();
|
||||
} while (TIME_BEFORE(current_tick, timeout));
|
||||
|
||||
return 0; /* timeout */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue