xhci: gcc2 buildfix from hrev52319
Change-Id: I5d82059bd002c26ba372d55f5a5538ce7d19ffb2
This commit is contained in:
@@ -2480,11 +2480,12 @@ XHCI::WaitOpBits(uint32 reg, uint32 mask, uint32 expected)
|
||||
snooze(1000);
|
||||
value = ReadOpReg(reg);
|
||||
if (loops == 25) {
|
||||
TRACE("delay waiting on reg 0x%x match 0x%x (0x%x)\n",
|
||||
reg, expected, mask);
|
||||
TRACE("delay waiting on reg 0x%" B_PRIX32 " match 0x%" B_PRIX32
|
||||
" (0x%" B_PRIX32 ")\n", reg, expected, mask);
|
||||
} else if (loops > 100) {
|
||||
TRACE_ERROR("timeout waiting on reg 0x%x match 0x%x (0x%x)\n",
|
||||
reg, expected, mask);
|
||||
TRACE_ERROR("timeout waiting on reg 0x%" B_PRIX32
|
||||
" match 0x%" B_PRIX32 " (0x%" B_PRIX32 ")\n", reg, expected,
|
||||
mask);
|
||||
return B_ERROR;
|
||||
}
|
||||
loops++;
|
||||
|
||||
Reference in New Issue
Block a user