Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Platform-independent core collection
Manage
Activity
Members
Labels
Plan
Issues
15
Issue boards
Milestones
Wiki
Code
Merge requests
5
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
Platform-independent core collection
Commits
9e46223f
Commit
9e46223f
authored
5 years ago
by
Federico Vaga
Browse files
Options
Downloads
Plain Diff
Merge branch 'kc705-spi' into 'master'
sw: Update spi-ocores See merge request
!3
parents
56d855fc
a44ebe24
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!3
sw: Update spi-ocores
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
software/spi-ocores/drivers/spi/spi-ocores.c
+4
-2
4 additions, 2 deletions
software/spi-ocores/drivers/spi/spi-ocores.c
with
4 additions
and
2 deletions
software/spi-ocores/drivers/spi/spi-ocores.c
+
4
−
2
View file @
9e46223f
...
...
@@ -467,9 +467,11 @@ static int spi_ocores_sw_xfer_next_init(struct spi_ocores *sp)
ctrl
=
sp
->
ctrl_base
;
if
(
sp
->
master
->
cur_msg
->
spi
->
mode
&
SPI_CPHA
)
{
ctrl
|=
SPI_OCORES_CTRL_Tx_NEG
;
ctrl
|=
SPI_OCORES_CTRL_Rx_NEG
;
}
else
ctrl
|=
SPI_OCORES_CTRL_Tx_NEG
;
if
(
sp
->
master
->
cur_msg
->
spi
->
mode
&
SPI_LSB_FIRST
)
ctrl
|=
SPI_OCORES_CTRL_LSB
;
ctrl
|=
nbits
;
...
...
@@ -596,7 +598,7 @@ static int spi_ocores_process(struct spi_ocores *sp)
spi_ocores_finalize_current_message
(
sp
);
}
return
0
;
return
err
;
}
/**
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment