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
Kirill Smelkov
linux
Commits
e7c57cc1
Commit
e7c57cc1
authored
Sep 01, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'spi/topic/tegra' into spi-next
parents
a3e412dc
5f7f54b5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
drivers/spi/spi-tegra114.c
drivers/spi/spi-tegra114.c
+1
-7
No files found.
drivers/spi/spi-tegra114.c
View file @
e7c57cc1
...
@@ -1051,18 +1051,12 @@ static int tegra_spi_probe(struct platform_device *pdev)
...
@@ -1051,18 +1051,12 @@ static int tegra_spi_probe(struct platform_device *pdev)
spin_lock_init
(
&
tspi
->
lock
);
spin_lock_init
(
&
tspi
->
lock
);
r
=
platform_get_resource
(
pdev
,
IORESOURCE_MEM
,
0
);
r
=
platform_get_resource
(
pdev
,
IORESOURCE_MEM
,
0
);
if
(
!
r
)
{
dev_err
(
&
pdev
->
dev
,
"No IO memory resource
\n
"
);
ret
=
-
ENODEV
;
goto
exit_free_master
;
}
tspi
->
phys
=
r
->
start
;
tspi
->
base
=
devm_ioremap_resource
(
&
pdev
->
dev
,
r
);
tspi
->
base
=
devm_ioremap_resource
(
&
pdev
->
dev
,
r
);
if
(
IS_ERR
(
tspi
->
base
))
{
if
(
IS_ERR
(
tspi
->
base
))
{
ret
=
PTR_ERR
(
tspi
->
base
);
ret
=
PTR_ERR
(
tspi
->
base
);
dev_err
(
&
pdev
->
dev
,
"ioremap failed: err = %d
\n
"
,
ret
);
goto
exit_free_master
;
goto
exit_free_master
;
}
}
tspi
->
phys
=
r
->
start
;
spi_irq
=
platform_get_irq
(
pdev
,
0
);
spi_irq
=
platform_get_irq
(
pdev
,
0
);
tspi
->
irq
=
spi_irq
;
tspi
->
irq
=
spi_irq
;
...
...
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