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
c1e2e44d
Commit
c1e2e44d
authored
Apr 30, 2013
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel/calibration.c: refuse to work with old calibration
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
96da921c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
calibration.c
kernel/calibration.c
+5
-0
No files found.
kernel/calibration.c
View file @
c1e2e44d
...
@@ -176,6 +176,11 @@ int fd_handle_eeprom_calibration(struct fd_dev *fd)
...
@@ -176,6 +176,11 @@ int fd_handle_eeprom_calibration(struct fd_dev *fd)
hash
,
horig
);
hash
,
horig
);
return
-
EINVAL
;
return
-
EINVAL
;
}
}
if
(
calib
->
version
<
3
)
{
dev_err
(
d
,
"Calibration version %i < 3: refusing to work
\n
"
,
fd
->
calib
.
version
);
return
-
EINVAL
;
}
if
(
calibration_save
)
{
if
(
calibration_save
)
{
/* FIXME: save to eeprom: re-convert endianness and hash */
/* FIXME: save to eeprom: re-convert endianness and hash */
...
...
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