target/adiv5: Resume targets that have been halted

Some targets have been halted while probing them, but the should be
resumed before we leave.
This commit is contained in:
James Turton 2022-08-31 23:31:11 +02:00 committed by Rachel Mant
parent 32f441dd63
commit a9c2cb96eb
1 changed files with 1 additions and 2 deletions

View File

@ -846,8 +846,7 @@ void adiv5_dp_init(ADIv5_DP_t *dp, const uint32_t idcode)
dp->ap_cleanup(i);
#endif
if (++invalid_aps == 8) {
adiv5_dp_unref(dp);
return;
break;
}
continue;
}