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
a55ede16
Commit
a55ede16
authored
Apr 12, 2015
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/fix/intel' into asoc-linus
parents
dad0e523
6212755e
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
1 deletion
+7
-1
sound/soc/intel/sst-acpi.c
sound/soc/intel/sst-acpi.c
+1
-0
sound/soc/intel/sst-dsp.h
sound/soc/intel/sst-dsp.h
+1
-0
sound/soc/intel/sst-firmware.c
sound/soc/intel/sst-firmware.c
+4
-0
sound/soc/intel/sst/sst_acpi.c
sound/soc/intel/sst/sst_acpi.c
+1
-1
No files found.
sound/soc/intel/sst-acpi.c
View file @
a55ede16
...
...
@@ -142,6 +142,7 @@ static int sst_acpi_probe(struct platform_device *pdev)
sst_acpi
->
desc
=
desc
;
sst_acpi
->
mach
=
mach
;
sst_pdata
->
resindex_dma_base
=
desc
->
resindex_dma_base
;
if
(
desc
->
resindex_dma_base
>=
0
)
{
sst_pdata
->
dma_engine
=
desc
->
dma_engine
;
sst_pdata
->
dma_base
=
desc
->
resindex_dma_base
;
...
...
sound/soc/intel/sst-dsp.h
View file @
a55ede16
...
...
@@ -206,6 +206,7 @@ struct sst_pdata {
const
struct
firmware
*
fw
;
/* DMA */
int
resindex_dma_base
;
/* other fields invalid if equals to -1 */
u32
dma_base
;
u32
dma_size
;
int
dma_engine
;
...
...
sound/soc/intel/sst-firmware.c
View file @
a55ede16
...
...
@@ -271,6 +271,10 @@ int sst_dma_new(struct sst_dsp *sst)
const
char
*
dma_dev_name
;
int
ret
=
0
;
if
(
sst
->
pdata
->
resindex_dma_base
==
-
1
)
/* DMA is not used, return and squelsh error messages */
return
0
;
/* configure the correct platform data for whatever DMA engine
* is attached to the ADSP IP. */
switch
(
sst
->
pdata
->
dma_engine
)
{
...
...
sound/soc/intel/sst/sst_acpi.c
View file @
a55ede16
...
...
@@ -309,7 +309,7 @@ static int sst_acpi_probe(struct platform_device *pdev)
ctx
->
shim_regs64
=
devm_kzalloc
(
ctx
->
dev
,
sizeof
(
*
ctx
->
shim_regs64
),
GFP_KERNEL
);
if
(
!
ctx
->
shim_regs64
)
{
ret
urn
-
ENOMEM
;
ret
=
-
ENOMEM
;
goto
do_sst_cleanup
;
}
...
...
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