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
Kirill Smelkov
linux
Commits
1ef6f346
Commit
1ef6f346
authored
Oct 26, 2017
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/fix/rcar' into asoc-linus
parents
eefb175f
9e9e95df
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
sound/soc/sh/rcar/adg.c
sound/soc/sh/rcar/adg.c
+2
-2
sound/soc/sh/rcar/ssi.c
sound/soc/sh/rcar/ssi.c
+4
-1
No files found.
sound/soc/sh/rcar/adg.c
View file @
1ef6f346
...
@@ -479,10 +479,10 @@ static void rsnd_adg_get_clkout(struct rsnd_priv *priv,
...
@@ -479,10 +479,10 @@ static void rsnd_adg_get_clkout(struct rsnd_priv *priv,
}
}
if
(
req_rate
[
0
]
%
48000
==
0
)
if
(
req_rate
[
0
]
%
48000
==
0
)
adg
->
flags
=
AUDIO_OUT_48
;
adg
->
flags
|
=
AUDIO_OUT_48
;
if
(
of_get_property
(
np
,
"clkout-lr-asynchronous"
,
NULL
))
if
(
of_get_property
(
np
,
"clkout-lr-asynchronous"
,
NULL
))
adg
->
flags
=
LRCLK_ASYNC
;
adg
->
flags
|
=
LRCLK_ASYNC
;
/*
/*
* This driver is assuming that AUDIO_CLKA/AUDIO_CLKB/AUDIO_CLKC
* This driver is assuming that AUDIO_CLKA/AUDIO_CLKB/AUDIO_CLKC
...
...
sound/soc/sh/rcar/ssi.c
View file @
1ef6f346
...
@@ -1112,6 +1112,9 @@ int rsnd_ssi_probe(struct rsnd_priv *priv)
...
@@ -1112,6 +1112,9 @@ int rsnd_ssi_probe(struct rsnd_priv *priv)
i
=
0
;
i
=
0
;
for_each_child_of_node
(
node
,
np
)
{
for_each_child_of_node
(
node
,
np
)
{
if
(
!
of_device_is_available
(
np
))
goto
skip
;
ssi
=
rsnd_ssi_get
(
priv
,
i
);
ssi
=
rsnd_ssi_get
(
priv
,
i
);
snprintf
(
name
,
RSND_SSI_NAME_SIZE
,
"%s.%d"
,
snprintf
(
name
,
RSND_SSI_NAME_SIZE
,
"%s.%d"
,
...
@@ -1148,7 +1151,7 @@ int rsnd_ssi_probe(struct rsnd_priv *priv)
...
@@ -1148,7 +1151,7 @@ int rsnd_ssi_probe(struct rsnd_priv *priv)
of_node_put
(
np
);
of_node_put
(
np
);
goto
rsnd_ssi_probe_done
;
goto
rsnd_ssi_probe_done
;
}
}
skip:
i
++
;
i
++
;
}
}
...
...
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