Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
344a8511
Commit
344a8511
authored
Oct 25, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'spi/topic/txx9' into spi-next
parents
605d427c
256fbf36
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/spi/spi-txx9.c
drivers/spi/spi-txx9.c
+2
-2
No files found.
drivers/spi/spi-txx9.c
View file @
344a8511
...
@@ -177,7 +177,7 @@ static void txx9spi_work_one(struct txx9spi *c, struct spi_message *m)
...
@@ -177,7 +177,7 @@ static void txx9spi_work_one(struct txx9spi *c, struct spi_message *m)
|
0x08
,
|
0x08
,
TXx9_SPCR0
);
TXx9_SPCR0
);
list_for_each_entry
(
t
,
&
m
->
transfers
,
transfer_list
)
{
list_for_each_entry
(
t
,
&
m
->
transfers
,
transfer_list
)
{
const
void
*
txbuf
=
t
->
tx_buf
;
const
void
*
txbuf
=
t
->
tx_buf
;
void
*
rxbuf
=
t
->
rx_buf
;
void
*
rxbuf
=
t
->
rx_buf
;
u32
data
;
u32
data
;
...
@@ -308,7 +308,7 @@ static int txx9spi_transfer(struct spi_device *spi, struct spi_message *m)
...
@@ -308,7 +308,7 @@ static int txx9spi_transfer(struct spi_device *spi, struct spi_message *m)
m
->
actual_length
=
0
;
m
->
actual_length
=
0
;
/* check each transfer's parameters */
/* check each transfer's parameters */
list_for_each_entry
(
t
,
&
m
->
transfers
,
transfer_list
)
{
list_for_each_entry
(
t
,
&
m
->
transfers
,
transfer_list
)
{
u32
speed_hz
=
t
->
speed_hz
?
:
spi
->
max_speed_hz
;
u32
speed_hz
=
t
->
speed_hz
?
:
spi
->
max_speed_hz
;
u8
bits_per_word
=
t
->
bits_per_word
;
u8
bits_per_word
=
t
->
bits_per_word
;
...
...
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