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
41caa416
Commit
41caa416
authored
Nov 03, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/fix/dapm' into asoc-linus
parents
ca89bc24
298402a3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
sound/soc/soc-dapm.c
sound/soc/soc-dapm.c
+3
-1
No files found.
sound/soc/soc-dapm.c
View file @
41caa416
...
...
@@ -1974,7 +1974,7 @@ static ssize_t dapm_widget_power_read_file(struct file *file,
w
->
active
?
"active"
:
"inactive"
);
list_for_each_entry
(
p
,
&
w
->
sources
,
list_sink
)
{
if
(
p
->
connected
&&
!
p
->
connected
(
w
,
p
->
s
ink
))
if
(
p
->
connected
&&
!
p
->
connected
(
w
,
p
->
s
ource
))
continue
;
if
(
p
->
connect
)
...
...
@@ -3525,6 +3525,7 @@ int snd_soc_dapm_new_dai_widgets(struct snd_soc_dapm_context *dapm,
if
(
!
w
)
{
dev_err
(
dapm
->
dev
,
"ASoC: Failed to create %s widget
\n
"
,
dai
->
driver
->
playback
.
stream_name
);
return
-
ENOMEM
;
}
w
->
priv
=
dai
;
...
...
@@ -3543,6 +3544,7 @@ int snd_soc_dapm_new_dai_widgets(struct snd_soc_dapm_context *dapm,
if
(
!
w
)
{
dev_err
(
dapm
->
dev
,
"ASoC: Failed to create %s widget
\n
"
,
dai
->
driver
->
capture
.
stream_name
);
return
-
ENOMEM
;
}
w
->
priv
=
dai
;
...
...
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