Commit d0be3db2 authored by Adam Wujek's avatar Adam Wujek

arch-wrpc: remove parameter grandmaster from wrpc_spll_locking_poll

As done for WRS in a commit:
515af578  Big update 2
Signed-off-by: 's avatarAdam Wujek <adam.wujek@creotech.pl>
parent d1c695b7
......@@ -25,16 +25,13 @@ int wrpc_spll_locking_enable(struct pp_instance *ppi)
return WRH_SPLL_OK;
}
int wrpc_spll_locking_poll(struct pp_instance *ppi, int grandmaster)
int wrpc_spll_locking_poll(struct pp_instance *ppi)
{
int locked;
static int t24p_calibrated = 0;
locked = spll_check_lock(0); /* both slave and gm mode */
if (grandmaster)
return locked ? WRH_SPLL_LOCKED : WRH_SPLL_ERROR;
/* Else, slave: ensure calibration is done */
if(!locked) {
t24p_calibrated = 0;
......
......@@ -43,7 +43,7 @@ struct wrpc_ethhdr {
/* wrpc-spll.c (some should move to time-wrpc/) */
int wrpc_spll_locking_enable(struct pp_instance *ppi);
int wrpc_spll_locking_poll(struct pp_instance *ppi, int grandmaster);
int wrpc_spll_locking_poll(struct pp_instance *ppi);
int wrpc_spll_locking_disable(struct pp_instance *ppi);
int wrpc_spll_locking_reset(struct pp_instance *ppi);
int wrpc_spll_enable_ptracker(struct pp_instance *ppi);
......
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