Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Simple PCIe FMC carrier SPEC - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
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
Simple PCIe FMC carrier SPEC - Software
Commits
3501d908
Commit
3501d908
authored
May 20, 2013
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel/spec-i2c: minor fix: write to fmc->eeprom as well
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
1250929c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
spec-i2c.c
kernel/spec-i2c.c
+1
-0
No files found.
kernel/spec-i2c.c
View file @
3501d908
...
...
@@ -201,6 +201,7 @@ int spec_eeprom_write(struct fmc_device *fmc, uint32_t offset,
busy
=
mi2c_put_byte
(
fmc
,
fmc
->
eeprom_addr
<<
1
);
mi2c_stop
(
fmc
);
}
while
(
busy
);
fmc
->
eeprom
[
offset
++
]
=
*
buf8
++
;
}
return
size
;
}
...
...
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