Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC TDC 1ns 5cha - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
FMC TDC 1ns 5cha - Software
Commits
eb0da323
Commit
eb0da323
authored
Feb 03, 2015
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel: remove debug prints
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
67544fe0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
ft-irq.c
kernel/ft-irq.c
+0
-6
No files found.
kernel/ft-irq.c
View file @
eb0da323
...
@@ -83,7 +83,6 @@ int ft_read_sw_fifo(struct fmctdc_dev *ft, int channel,
...
@@ -83,7 +83,6 @@ int ft_read_sw_fifo(struct fmctdc_dev *ft, int channel,
* the reference
* the reference
*/
*/
if
(
st
->
delay_reference
)
{
if
(
st
->
delay_reference
)
{
pr_info
(
"%s:%d calculate delay
\n
"
,
__func__
,
__LINE__
);
reflast
=
&
ft
->
channels
[
st
->
delay_reference
-
1
].
last_ts
;
reflast
=
&
ft
->
channels
[
st
->
delay_reference
-
1
].
last_ts
;
/* local copy of the last time stamp */
/* local copy of the last time stamp */
ts_last
=
*
reflast
;
ts_last
=
*
reflast
;
...
@@ -93,16 +92,12 @@ int ft_read_sw_fifo(struct fmctdc_dev *ft, int channel,
...
@@ -93,16 +92,12 @@ int ft_read_sw_fifo(struct fmctdc_dev *ft, int channel,
if
(
likely
(
ts
.
gseq_id
>
ts_last
.
gseq_id
))
{
if
(
likely
(
ts
.
gseq_id
>
ts_last
.
gseq_id
))
{
ft_ts_sub
(
&
ts
,
&
ts_last
);
ft_ts_sub
(
&
ts
,
&
ts_last
);
v
[
FT_ATTR_TDC_DELAY_REF_SEQ
]
=
ts_last
.
gseq_id
;
v
[
FT_ATTR_TDC_DELAY_REF_SEQ
]
=
ts_last
.
gseq_id
;
pr_info
(
"%s:%d gseq last ref %d
\n
"
,
__func__
,
__LINE__
,
ts_last
.
gseq_id
);
}
else
{
}
else
{
/*
/*
* It seems that we are not able to compute the delay.
* It seems that we are not able to compute the delay.
* Inform the user by setting the time stamp to 0
* Inform the user by setting the time stamp to 0
*/
*/
memset
(
&
ts
,
0
,
sizeof
(
struct
ft_wr_timestamp
));
memset
(
&
ts
,
0
,
sizeof
(
struct
ft_wr_timestamp
));
pr_info
(
"%s:%d can't do it %d - %d %d
\n
"
,
__func__
,
__LINE__
,
st
->
delay_reference
-
1
,
ts
.
gseq_id
>
ts_last
.
gseq_id
);
}
}
}
}
...
@@ -288,7 +283,6 @@ static void ft_readout_tasklet(unsigned long arg)
...
@@ -288,7 +283,6 @@ static void ft_readout_tasklet(unsigned long arg)
uint32_t
rd_ptr
;
uint32_t
rd_ptr
;
int
count
,
dacapo
,
i
,
err
;
int
count
,
dacapo
,
i
,
err
;
pr_info
(
"%s:%d
\n
"
,
__func__
,
__LINE__
);
ft
->
prev_wr_ptr
=
ft
->
cur_wr_ptr
;
ft
->
prev_wr_ptr
=
ft
->
cur_wr_ptr
;
ft
->
cur_wr_ptr
=
ft_readl
(
ft
,
TDC_REG_BUFFER_PTR
);
ft
->
cur_wr_ptr
=
ft_readl
(
ft
,
TDC_REG_BUFFER_PTR
);
...
...
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