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
afbf50d1
Commit
afbf50d1
authored
Apr 23, 2012
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
acam: fix in error reporting
parent
ee6f198b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
acam.c
acam.c
+2
-2
No files found.
acam.c
View file @
afbf50d1
...
...
@@ -131,9 +131,9 @@ static int acam_test_addr_bit(struct spec_fd *fd, int base, int bit,
acam_writel
(
fd
,
reg
,
addr2
);
/* set the data mask */
if
((
acam_readl
(
fd
,
addr1
)
&
data
)
!=
0
)
return
-
EIO
;
goto
out
;
if
((
acam_readl
(
fd
,
addr2
)
&
data
)
!=
data
)
return
-
EIO
;
goto
out
;
/* the other way around */
reg
=
acam_readl
(
fd
,
addr2
)
&
~
data
;
...
...
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