Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
U
uboot-imx
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
8
Issues
8
List
Boards
Labels
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Librem5
uboot-imx
Commits
23465119
Commit
23465119
authored
Dec 20, 2016
by
Tom Rini
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
git://git.denx.de/u-boot-i2c
parents
4cf5c5f1
77466267
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/i2c/mv_i2c.c
drivers/i2c/mv_i2c.c
+2
-2
No files found.
drivers/i2c/mv_i2c.c
View file @
23465119
...
...
@@ -270,7 +270,7 @@ static int __i2c_read(struct mv_i2c *base, uchar chip, u8 *addr, int alen,
msg
.
condition
=
I2C_COND_NORMAL
;
msg
.
acknack
=
I2C_ACKNAK_WAITACK
;
msg
.
direction
=
I2C_WRITE
;
msg
.
data
=
*
(
addr
++
)
;
msg
.
data
=
addr
[
alen
]
;
if
(
i2c_transfer
(
base
,
&
msg
))
return
-
1
;
}
...
...
@@ -341,7 +341,7 @@ static int __i2c_write(struct mv_i2c *base, uchar chip, u8 *addr, int alen,
msg
.
condition
=
I2C_COND_NORMAL
;
msg
.
acknack
=
I2C_ACKNAK_WAITACK
;
msg
.
direction
=
I2C_WRITE
;
msg
.
data
=
*
(
addr
++
)
;
msg
.
data
=
addr
[
alen
]
;
if
(
i2c_transfer
(
base
,
&
msg
))
return
-
1
;
}
...
...
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