Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PPSi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
PPSi
Commits
c3492902
Commit
c3492902
authored
Feb 03, 2017
by
Adam Wujek
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
arch-wrpc: return spll error when calib_t24p fails
Signed-off-by:
Adam Wujek
<
adam.wujek@cern.ch
>
parent
50c32dc4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
wrpc-spll.c
arch-wrpc/wrpc-spll.c
+2
-1
No files found.
arch-wrpc/wrpc-spll.c
View file @
c3492902
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment