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
3135ba82
Commit
3135ba82
authored
Oct 25, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'spi/topic/orion' into spi-next
parents
6c99db1e
3fed8068
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
drivers/spi/spi-orion.c
drivers/spi/spi-orion.c
+3
-3
No files found.
drivers/spi/spi-orion.c
View file @
3135ba82
...
...
@@ -84,8 +84,8 @@ static int orion_spi_set_transfer_size(struct orion_spi *orion_spi, int size)
orion_spi_clrbits
(
orion_spi
,
ORION_SPI_IF_CONFIG_REG
,
ORION_SPI_IF_8_16_BIT_MODE
);
}
else
{
pr_debug
(
"Bad bits per word value %d (only 8 or 16 are
"
"allowed).
\n
"
,
size
);
pr_debug
(
"Bad bits per word value %d (only 8 or 16 are
allowed).
\n
"
,
size
);
return
-
EINVAL
;
}
...
...
@@ -407,7 +407,7 @@ static int orion_spi_probe(struct platform_device *pdev)
const
u32
*
iprop
;
int
size
;
master
=
spi_alloc_master
(
&
pdev
->
dev
,
sizeof
*
spi
);
master
=
spi_alloc_master
(
&
pdev
->
dev
,
sizeof
(
*
spi
)
);
if
(
master
==
NULL
)
{
dev_dbg
(
&
pdev
->
dev
,
"master allocation failed
\n
"
);
return
-
ENOMEM
;
...
...
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