At the moment the HW polling loop does a 50 usec delay between
each reading of the HW flag in question. Since this delay is no
worse than just reading the HW flag continuously, get rid of it.
This will reduce the wait time from 50 usec to 25 usec in the
general case.
Signed-off-by: Imre Deak <imre.deak@nokia.com>
LOOP_UNTIL_TIMEOUT(uiMaxTime) {
if ((readl(pui32LinMemAddr) & ui32Mask) == ui32Value)
return PVRSRV_OK;
- OSWaitus(ui32Waitus);
}
END_LOOP_UNTIL_TIMEOUT();