Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC DEL 1ns 4cha - 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 DEL 1ns 4cha - Software
Commits
09ad885b
Commit
09ad885b
authored
May 28, 2013
by
Juan David González Cobas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug: add offsets at END and not only at START
These additions were overlooked in
b7b800ae
parent
4ba9c123
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
fd-zio.c
kernel/fd-zio.c
+8
-0
No files found.
kernel/fd-zio.c
View file @
09ad885b
...
...
@@ -442,6 +442,8 @@ static void __fd_zio_output(struct fd_dev *fd, int index1_4, uint32_t *attrs)
if
(
mode
==
FD_OUT_MODE_DELAY
)
{
fd_apply_offset
(
attrs
+
FD_ATTR_OUT_START_H
,
fd
->
calib
.
tdc_zero_offset
);
fd_apply_offset
(
attrs
+
FD_ATTR_OUT_END_H
,
fd
->
calib
.
tdc_zero_offset
);
}
fd_apply_offset
(
attrs
+
FD_ATTR_OUT_START_H
,
...
...
@@ -450,6 +452,12 @@ static void __fd_zio_output(struct fd_dev *fd, int index1_4, uint32_t *attrs)
fd_apply_offset
(
attrs
+
FD_ATTR_OUT_START_H
,
fd
->
ch_user_offset
[
ch
]);
fd_apply_offset
(
attrs
+
FD_ATTR_OUT_END_H
,
fd
->
calib
.
zero_offset
[
ch
]);
fd_apply_offset
(
attrs
+
FD_ATTR_OUT_END_H
,
fd
->
ch_user_offset
[
ch
]);
fd_ch_writel
(
fd
,
ch
,
fd
->
ch
[
ch
].
frr_cur
,
FD_REG_FRR
);
fd_ch_writel
(
fd
,
ch
,
attrs
[
FD_ATTR_OUT_START_H
],
FD_REG_U_STARTH
);
...
...
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