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
3f1b8613
Commit
3f1b8613
authored
Dec 12, 2016
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/topic/core' into asoc-next
parents
66f89906
06859fca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
sound/soc/soc-core.c
sound/soc/soc-core.c
+6
-2
No files found.
sound/soc/soc-core.c
View file @
3f1b8613
...
...
@@ -993,6 +993,7 @@ static int soc_bind_dai_link(struct snd_soc_card *card,
struct
snd_soc_dai_link_component
cpu_dai_component
;
struct
snd_soc_dai
**
codec_dais
;
struct
snd_soc_platform
*
platform
;
struct
device_node
*
platform_of_node
;
const
char
*
platform_name
;
int
i
;
...
...
@@ -1042,9 +1043,12 @@ static int soc_bind_dai_link(struct snd_soc_card *card,
/* find one from the set of registered platforms */
list_for_each_entry
(
platform
,
&
platform_list
,
list
)
{
platform_of_node
=
platform
->
dev
->
of_node
;
if
(
!
platform_of_node
&&
platform
->
dev
->
parent
->
of_node
)
platform_of_node
=
platform
->
dev
->
parent
->
of_node
;
if
(
dai_link
->
platform_of_node
)
{
if
(
platform
->
dev
->
of_node
!=
dai_link
->
platform_of_node
)
if
(
platform_of_node
!=
dai_link
->
platform_of_node
)
continue
;
}
else
{
if
(
strcmp
(
platform
->
component
.
name
,
platform_name
))
...
...
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