Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
Platform-independent core collection
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
18
Issues
18
List
Board
Labels
Milestones
Merge Requests
5
Merge Requests
5
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
Platform-independent core collection
Commits
eea86f41
Commit
eea86f41
authored
Sep 27, 2019
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sw:i2c: unselecting is superfluous
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
f90e7c1d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
i2c-ocores.c
software/i2c-ocores/drivers/i2c/busses/i2c-ocores.c
+0
-1
No files found.
software/i2c-ocores/drivers/i2c/busses/i2c-ocores.c
View file @
eea86f41
...
...
@@ -615,7 +615,6 @@ static int ocores_i2c_mux_deselect(struct i2c_adapter *adap,
mux
=
oc_getreg
(
i2c
,
OCI2C_OHWR_MUX
);
if
(
unlikely
(
!
(
mux
&
OCI2C_OHWR_MUX_BUSY
)))
dev_err
(
&
adap
->
dev
,
"deselect a bus that was not selected
\n
"
);
mux
&=
~
OCI2C_OHWR_MUX_SEL_MASK
;
mux
&=
~
OCI2C_OHWR_MUX_BUSY
;
oc_setreg
(
i2c
,
OCI2C_OHWR_MUX
,
mux
);
...
...
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