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
cf68496f
Commit
cf68496f
authored
Feb 07, 2013
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel/fd-zio: fix reading flags
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
473eead3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
fd-zio.c
kernel/fd-zio.c
+5
-1
No files found.
kernel/fd-zio.c
View file @
cf68496f
...
...
@@ -115,8 +115,12 @@ static int fd_zio_info_tdc(struct device *dev, struct zio_attribute *zattr,
*
usr_val
=
fd
->
calib
.
tdc_user_offset
;
return
0
;
}
if
(
zattr
->
id
==
FD_ATTR_TDC_FLAGS
)
{
*
usr_val
=
fd
->
calib
.
tdc_flags
;
return
0
;
}
/*
* Following code is about TDC values, for the last TDC event.
* For efficiency reasons at read_fifo() time, we store an
* array of integers instead of filling attributes, so here
* pick the values from our array.
...
...
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