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
ae6c1383
Commit
ae6c1383
authored
Jun 04, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'spi/fix/topcliff' into spi-linus
parents
2570ce2a
bac902d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
drivers/spi/spi-topcliff-pch.c
drivers/spi/spi-topcliff-pch.c
+2
-1
No files found.
drivers/spi/spi-topcliff-pch.c
View file @
ae6c1383
...
@@ -1487,7 +1487,7 @@ static int pch_spi_pd_probe(struct platform_device *plat_dev)
...
@@ -1487,7 +1487,7 @@ static int pch_spi_pd_probe(struct platform_device *plat_dev)
return
0
;
return
0
;
err_spi_register_master:
err_spi_register_master:
free_irq
(
board_dat
->
pdev
->
irq
,
board_dat
);
free_irq
(
board_dat
->
pdev
->
irq
,
data
);
err_request_irq:
err_request_irq:
pch_spi_free_resources
(
board_dat
,
data
);
pch_spi_free_resources
(
board_dat
,
data
);
err_spi_get_resources:
err_spi_get_resources:
...
@@ -1667,6 +1667,7 @@ static int pch_spi_probe(struct pci_dev *pdev,
...
@@ -1667,6 +1667,7 @@ static int pch_spi_probe(struct pci_dev *pdev,
pd_dev
=
platform_device_alloc
(
"pch-spi"
,
i
);
pd_dev
=
platform_device_alloc
(
"pch-spi"
,
i
);
if
(
!
pd_dev
)
{
if
(
!
pd_dev
)
{
dev_err
(
&
pdev
->
dev
,
"platform_device_alloc failed
\n
"
);
dev_err
(
&
pdev
->
dev
,
"platform_device_alloc failed
\n
"
);
retval
=
-
ENOMEM
;
goto
err_platform_device
;
goto
err_platform_device
;
}
}
pd_dev_save
->
pd_save
[
i
]
=
pd_dev
;
pd_dev_save
->
pd_save
[
i
]
=
pd_dev
;
...
...
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