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
971a6f45
Commit
971a6f45
authored
Nov 20, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/fix/dma' into asoc-linus
parents
ac5f1ad3
a894bd7f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
sound/soc/soc-generic-dmaengine-pcm.c
sound/soc/soc-generic-dmaengine-pcm.c
+3
-1
No files found.
sound/soc/soc-generic-dmaengine-pcm.c
View file @
971a6f45
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
#include <sound/dmaengine_pcm.h>
#include <sound/dmaengine_pcm.h>
struct
dmaengine_pcm
{
struct
dmaengine_pcm
{
struct
dma_chan
*
chan
[
SNDRV_PCM_STREAM_
CAPTURE
+
1
];
struct
dma_chan
*
chan
[
SNDRV_PCM_STREAM_
LAST
+
1
];
const
struct
snd_dmaengine_pcm_config
*
config
;
const
struct
snd_dmaengine_pcm_config
*
config
;
struct
snd_soc_platform
platform
;
struct
snd_soc_platform
platform
;
unsigned
int
flags
;
unsigned
int
flags
;
...
@@ -90,6 +90,8 @@ static int dmaengine_pcm_hw_params(struct snd_pcm_substream *substream,
...
@@ -90,6 +90,8 @@ static int dmaengine_pcm_hw_params(struct snd_pcm_substream *substream,
struct
dma_slave_config
slave_config
;
struct
dma_slave_config
slave_config
;
int
ret
;
int
ret
;
memset
(
&
slave_config
,
0
,
sizeof
(
slave_config
));
if
(
!
pcm
->
config
)
if
(
!
pcm
->
config
)
prepare_slave_config
=
snd_dmaengine_pcm_prepare_slave_config
;
prepare_slave_config
=
snd_dmaengine_pcm_prepare_slave_config
;
else
else
...
...
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