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
002ccbb0
Commit
002ccbb0
authored
Mar 24, 2014
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/topic/rcar' into asoc-next
parents
b51086ea
b1eac430
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
7 deletions
+11
-7
sound/soc/sh/rcar/src.c
sound/soc/sh/rcar/src.c
+11
-7
No files found.
sound/soc/sh/rcar/src.c
View file @
002ccbb0
...
...
@@ -182,16 +182,20 @@ unsigned int rsnd_src_get_ssi_rate(struct rsnd_priv *priv,
struct
rsnd_dai_stream
*
io
,
struct
snd_pcm_runtime
*
runtime
)
{
struct
rsnd_mod
*
src_mod
=
rsnd_io_to_mod_src
(
io
);
struct
rsnd_src
*
src
;
unsigned
int
rate
;
unsigned
int
rate
=
0
;
src
=
rsnd_mod_to_src
(
rsnd_io_to_mod_src
(
io
));
if
(
src_mod
)
{
src
=
rsnd_mod_to_src
(
src_mod
);
/*
* return convert rate if SRC is used,
* otherwise, return runtime->rate as usual
*/
rate
=
rsnd_src_convert_rate
(
src
);
}
/*
* return convert rate if SRC is used,
* otherwise, return runtime->rate as usual
*/
rate
=
rsnd_src_convert_rate
(
src
);
if
(
!
rate
)
rate
=
runtime
->
rate
;
...
...
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