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
1c750eb5
Commit
1c750eb5
authored
Mar 05, 2016
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/fix/dapm' into asoc-linus
parents
fc77dbd3
741338f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
sound/soc/soc-dapm.c
sound/soc/soc-dapm.c
+4
-4
No files found.
sound/soc/soc-dapm.c
View file @
1c750eb5
...
...
@@ -3573,7 +3573,7 @@ static int snd_soc_dapm_dai_link_get(struct snd_kcontrol *kcontrol,
{
struct
snd_soc_dapm_widget
*
w
=
snd_kcontrol_chip
(
kcontrol
);
ucontrol
->
value
.
integer
.
value
[
0
]
=
w
->
params_select
;
ucontrol
->
value
.
enumerated
.
item
[
0
]
=
w
->
params_select
;
return
0
;
}
...
...
@@ -3587,13 +3587,13 @@ static int snd_soc_dapm_dai_link_put(struct snd_kcontrol *kcontrol,
if
(
w
->
power
)
return
-
EBUSY
;
if
(
ucontrol
->
value
.
integer
.
value
[
0
]
==
w
->
params_select
)
if
(
ucontrol
->
value
.
enumerated
.
item
[
0
]
==
w
->
params_select
)
return
0
;
if
(
ucontrol
->
value
.
integer
.
value
[
0
]
>=
w
->
num_params
)
if
(
ucontrol
->
value
.
enumerated
.
item
[
0
]
>=
w
->
num_params
)
return
-
EINVAL
;
w
->
params_select
=
ucontrol
->
value
.
integer
.
value
[
0
];
w
->
params_select
=
ucontrol
->
value
.
enumerated
.
item
[
0
];
return
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