Commit c3492902 authored by Adam Wujek's avatar Adam Wujek 💬

arch-wrpc: return spll error when calib_t24p fails

Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent 50c32dc4
......@@ -38,7 +38,8 @@ int wrpc_spll_locking_poll(struct pp_instance *ppi, int grandmaster)
}
else if(locked && !t24p_calibrated) {
/*run t24p calibration if needed*/
calib_t24p(WRC_MODE_SLAVE, &cal_phase_transition);
if (calib_t24p(WRC_MODE_SLAVE, &cal_phase_transition) < 0)
return WR_SPLL_ERROR;
t24p_calibrated = 1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment