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:
parent
32f441dd63
commit
a9c2cb96eb
|
@ -846,8 +846,7 @@ void adiv5_dp_init(ADIv5_DP_t *dp, const uint32_t idcode)
|
||||||
dp->ap_cleanup(i);
|
dp->ap_cleanup(i);
|
||||||
#endif
|
#endif
|
||||||
if (++invalid_aps == 8) {
|
if (++invalid_aps == 8) {
|
||||||
adiv5_dp_unref(dp);
|
break;
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue