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
e7ac4fb6
Commit
e7ac4fb6
authored
Aug 22, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/topic/compress' into asoc-next
parents
b8e58d4e
3d24cfe4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
sound/soc/soc-compress.c
sound/soc/soc-compress.c
+7
-6
No files found.
sound/soc/soc-compress.c
View file @
e7ac4fb6
...
...
@@ -149,8 +149,9 @@ static int soc_compr_free(struct snd_compr_stream *cstream)
SND_SOC_DAPM_STREAM_STOP
);
}
else
{
rtd
->
pop_wait
=
1
;
schedule_delayed_work
(
&
rtd
->
delayed_work
,
msecs_to_jiffies
(
rtd
->
pmdown_time
));
queue_delayed_work
(
system_power_efficient_wq
,
&
rtd
->
delayed_work
,
msecs_to_jiffies
(
rtd
->
pmdown_time
));
}
}
else
{
/* capture streams can be powered down now */
...
...
@@ -334,7 +335,7 @@ static int soc_compr_copy(struct snd_compr_stream *cstream,
return
ret
;
}
static
int
s
st
_compr_set_metadata
(
struct
snd_compr_stream
*
cstream
,
static
int
s
oc
_compr_set_metadata
(
struct
snd_compr_stream
*
cstream
,
struct
snd_compr_metadata
*
metadata
)
{
struct
snd_soc_pcm_runtime
*
rtd
=
cstream
->
private_data
;
...
...
@@ -347,7 +348,7 @@ static int sst_compr_set_metadata(struct snd_compr_stream *cstream,
return
ret
;
}
static
int
s
st
_compr_get_metadata
(
struct
snd_compr_stream
*
cstream
,
static
int
s
oc
_compr_get_metadata
(
struct
snd_compr_stream
*
cstream
,
struct
snd_compr_metadata
*
metadata
)
{
struct
snd_soc_pcm_runtime
*
rtd
=
cstream
->
private_data
;
...
...
@@ -364,8 +365,8 @@ static struct snd_compr_ops soc_compr_ops = {
.
open
=
soc_compr_open
,
.
free
=
soc_compr_free
,
.
set_params
=
soc_compr_set_params
,
.
set_metadata
=
s
st
_compr_set_metadata
,
.
get_metadata
=
s
st
_compr_get_metadata
,
.
set_metadata
=
s
oc
_compr_set_metadata
,
.
get_metadata
=
s
oc
_compr_get_metadata
,
.
get_params
=
soc_compr_get_params
,
.
trigger
=
soc_compr_trigger
,
.
pointer
=
soc_compr_pointer
,
...
...
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