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
5acb8bb4
Commit
5acb8bb4
authored
Oct 07, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'spi/fix/dspi' into spi-linus
parents
a19be58c
272bfbd5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
drivers/spi/spi-fsl-dspi.c
drivers/spi/spi-fsl-dspi.c
+2
-8
No files found.
drivers/spi/spi-fsl-dspi.c
View file @
5acb8bb4
...
...
@@ -476,15 +476,9 @@ static int dspi_probe(struct platform_device *pdev)
master
->
bus_num
=
bus_num
;
res
=
platform_get_resource
(
pdev
,
IORESOURCE_MEM
,
0
);
if
(
!
res
)
{
dev_err
(
&
pdev
->
dev
,
"can't get platform resource
\n
"
);
ret
=
-
EINVAL
;
goto
out_master_put
;
}
dspi
->
base
=
devm_ioremap_resource
(
&
pdev
->
dev
,
res
);
if
(
!
dspi
->
base
)
{
ret
=
-
EINVAL
;
if
(
IS_ERR
(
dspi
->
base
)
)
{
ret
=
PTR_ERR
(
dspi
->
base
)
;
goto
out_master_put
;
}
...
...
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