Skip to content

Commit e36189f

Browse files
committed
[crorc] Don't assert link on INTERNAL or DIU
1 parent 24bc708 commit e36189f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/Crorc/CrorcBar.cxx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,14 +327,16 @@ void CrorcBar::resetDevice(bool withSiu)
327327
resetCard();
328328
if (withSiu) {
329329
resetSiu();
330+
assertLinkUp();
330331
}
331-
assertLinkUp();
332332

333333
if (withSiu) {
334334
resetSiu();
335335
}
336336
resetCard();
337-
assertLinkUp();
337+
if (withSiu) {
338+
assertLinkUp();
339+
}
338340
}
339341

340342
void CrorcBar::startDataReceiver(uintptr_t readyFifoBusAddress)

0 commit comments

Comments
 (0)