Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
R128
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ermine
R128
Commits
9450d92c
Commit
9450d92c
authored
11 years ago
by
Mark Brown
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'asoc/fix/dma' into asoc-linus
parents
738867f9
a894bd7f
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sound/soc/soc-generic-dmaengine-pcm.c
+3
-1
3 additions, 1 deletion
sound/soc/soc-generic-dmaengine-pcm.c
with
3 additions
and
1 deletion
sound/soc/soc-generic-dmaengine-pcm.c
+
3
−
1
View file @
9450d92c
...
...
@@ -25,7 +25,7 @@
#include
<sound/dmaengine_pcm.h>
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
;
struct
snd_soc_platform
platform
;
unsigned
int
flags
;
...
...
@@ -90,6 +90,8 @@ static int dmaengine_pcm_hw_params(struct snd_pcm_substream *substream,
struct
dma_slave_config
slave_config
;
int
ret
;
memset
(
&
slave_config
,
0
,
sizeof
(
slave_config
));
if
(
!
pcm
->
config
)
prepare_slave_config
=
snd_dmaengine_pcm_prepare_slave_config
;
else
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment