xhci: gcc2 buildfix from hrev52319

Change-Id: I5d82059bd002c26ba372d55f5a5538ce7d19ffb2
This commit is contained in:
Alexander von Gluck IV
2018-09-09 13:50:55 -05:00
parent 21c87a5d83
commit 7f644d106d
+5 -4
View File
@@ -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++;