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:
Solomon Peachy 2026-05-13 06:58:37 -04:00
parent 7d3f738b3f
commit 4c60fe95fc

View file

@ -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 */