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
2f5a5c1b
Commit
2f5a5c1b
authored
Jun 24, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'spi/fix/pxa' into spi-linus
parents
9e895ace
cc0ee987
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
drivers/spi/spi-pxa2xx-dma.c
drivers/spi/spi-pxa2xx-dma.c
+1
-1
drivers/spi/spi-pxa2xx.c
drivers/spi/spi-pxa2xx.c
+1
-1
No files found.
drivers/spi/spi-pxa2xx-dma.c
View file @
2f5a5c1b
...
...
@@ -59,7 +59,7 @@ static int pxa2xx_spi_map_dma_buffer(struct driver_data *drv_data,
int
ret
;
sg_free_table
(
sgt
);
ret
=
sg_alloc_table
(
sgt
,
nents
,
GFP_
KERNEL
);
ret
=
sg_alloc_table
(
sgt
,
nents
,
GFP_
ATOMIC
);
if
(
ret
)
return
ret
;
}
...
...
drivers/spi/spi-pxa2xx.c
View file @
2f5a5c1b
...
...
@@ -1075,7 +1075,7 @@ pxa2xx_spi_acpi_get_pdata(struct platform_device *pdev)
acpi_bus_get_device
(
ACPI_HANDLE
(
&
pdev
->
dev
),
&
adev
))
return
NULL
;
pdata
=
devm_kzalloc
(
&
pdev
->
dev
,
sizeof
(
*
ssp
),
GFP_KERNEL
);
pdata
=
devm_kzalloc
(
&
pdev
->
dev
,
sizeof
(
*
pdata
),
GFP_KERNEL
);
if
(
!
pdata
)
{
dev_err
(
&
pdev
->
dev
,
"failed to allocate memory for platform data
\n
"
);
...
...
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