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
36adf151
Commit
36adf151
authored
Dec 15, 2012
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/topic/log' into asoc-next
parents
20694ad2
c871bd0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
sound/soc/soc-core.c
sound/soc/soc-core.c
+5
-5
No files found.
sound/soc/soc-core.c
View file @
36adf151
...
@@ -4155,9 +4155,9 @@ int snd_soc_of_parse_audio_routing(struct snd_soc_card *card,
...
@@ -4155,9 +4155,9 @@ int snd_soc_of_parse_audio_routing(struct snd_soc_card *card,
ret
=
of_property_read_string_index
(
np
,
propname
,
ret
=
of_property_read_string_index
(
np
,
propname
,
2
*
i
,
&
routes
[
i
].
sink
);
2
*
i
,
&
routes
[
i
].
sink
);
if
(
ret
)
{
if
(
ret
)
{
dev_err
(
card
->
dev
,
"ASoC: Property '%s' index %d"
dev_err
(
card
->
dev
,
"
could not be read: %d
\n
"
,
propname
,
2
*
i
,
"
ASoC: Property '%s' index %d could not be read: %d
\n
"
,
ret
);
propname
,
2
*
i
,
ret
);
kfree
(
routes
);
kfree
(
routes
);
return
-
EINVAL
;
return
-
EINVAL
;
}
}
...
@@ -4165,8 +4165,8 @@ int snd_soc_of_parse_audio_routing(struct snd_soc_card *card,
...
@@ -4165,8 +4165,8 @@ int snd_soc_of_parse_audio_routing(struct snd_soc_card *card,
(
2
*
i
)
+
1
,
&
routes
[
i
].
source
);
(
2
*
i
)
+
1
,
&
routes
[
i
].
source
);
if
(
ret
)
{
if
(
ret
)
{
dev_err
(
card
->
dev
,
dev_err
(
card
->
dev
,
"ASoC: Property '%s' index %d could not be
"
"ASoC: Property '%s' index %d could not be
read: %d
\n
"
,
" read: %d
\n
"
,
propname
,
(
2
*
i
)
+
1
,
ret
);
propname
,
(
2
*
i
)
+
1
,
ret
);
kfree
(
routes
);
kfree
(
routes
);
return
-
EINVAL
;
return
-
EINVAL
;
}
}
...
...
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