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);
|
snooze(1000);
|
||||||
value = ReadOpReg(reg);
|
value = ReadOpReg(reg);
|
||||||
if (loops == 25) {
|
if (loops == 25) {
|
||||||
TRACE("delay waiting on reg 0x%x match 0x%x (0x%x)\n",
|
TRACE("delay waiting on reg 0x%" B_PRIX32 " match 0x%" B_PRIX32
|
||||||
reg, expected, mask);
|
" (0x%" B_PRIX32 ")\n", reg, expected, mask);
|
||||||
} else if (loops > 100) {
|
} else if (loops > 100) {
|
||||||
TRACE_ERROR("timeout waiting on reg 0x%x match 0x%x (0x%x)\n",
|
TRACE_ERROR("timeout waiting on reg 0x%" B_PRIX32
|
||||||
reg, expected, mask);
|
" match 0x%" B_PRIX32 " (0x%" B_PRIX32 ")\n", reg, expected,
|
||||||
|
mask);
|
||||||
return B_ERROR;
|
return B_ERROR;
|
||||||
}
|
}
|
||||||
loops++;
|
loops++;
|
||||||
|
|||||||
Reference in New Issue
Block a user