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
d0a906d3
Commit
d0a906d3
authored
Apr 30, 2017
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/fix/rcar' into asoc-linus
parents
ec7f9844
fc99d23f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
10 deletions
+12
-10
sound/soc/sh/rcar/adg.c
sound/soc/sh/rcar/adg.c
+11
-8
sound/soc/sh/rcar/src.c
sound/soc/sh/rcar/src.c
+1
-2
No files found.
sound/soc/sh/rcar/adg.c
View file @
d0a906d3
...
...
@@ -537,16 +537,14 @@ static void rsnd_adg_get_clkout(struct rsnd_priv *priv,
clk
=
clk_register_fixed_rate
(
dev
,
clkout_name
[
i
],
parent_clk_name
,
0
,
req_rate
);
if
(
!
IS_ERR
(
clk
))
{
adg
->
onecell
.
clks
=
adg
->
clkout
;
adg
->
onecell
.
clk_num
=
CLKOUTMAX
;
adg
->
clkout
[
i
]
=
ERR_PTR
(
-
ENOENT
);
if
(
!
IS_ERR
(
clk
))
adg
->
clkout
[
i
]
=
clk
;
of_clk_add_provider
(
np
,
of_clk_src_onecell_get
,
&
adg
->
onecell
);
}
}
adg
->
onecell
.
clks
=
adg
->
clkout
;
adg
->
onecell
.
clk_num
=
CLKOUTMAX
;
of_clk_add_provider
(
np
,
of_clk_src_onecell_get
,
&
adg
->
onecell
);
}
adg
->
ckr
=
ckr
;
...
...
@@ -589,5 +587,10 @@ int rsnd_adg_probe(struct rsnd_priv *priv)
void
rsnd_adg_remove
(
struct
rsnd_priv
*
priv
)
{
struct
device
*
dev
=
rsnd_priv_to_dev
(
priv
);
struct
device_node
*
np
=
dev
->
of_node
;
of_clk_del_provider
(
np
);
rsnd_adg_clk_disable
(
priv
);
}
sound/soc/sh/rcar/src.c
View file @
d0a906d3
...
...
@@ -167,6 +167,7 @@ static int rsnd_src_hw_params(struct rsnd_mod *mod,
* dpcm_fe_dai_hw_params()
* dpcm_be_dai_hw_params()
*/
src
->
convert_rate
=
0
;
if
(
fe
->
dai_link
->
dynamic
)
{
int
stream
=
substream
->
stream
;
struct
snd_soc_dpcm
*
dpcm
;
...
...
@@ -414,8 +415,6 @@ static int rsnd_src_quit(struct rsnd_mod *mod,
rsnd_mod_power_off
(
mod
);
src
->
convert_rate
=
0
;
/* reset sync convert_rate */
src
->
sync
.
val
=
0
;
...
...
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