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
08d0a975
Commit
08d0a975
authored
Jul 31, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/fix/dapm' into asoc-linus
parents
0d054318
56a67834
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
sound/soc/soc-dapm.c
sound/soc/soc-dapm.c
+2
-3
No files found.
sound/soc/soc-dapm.c
View file @
08d0a975
...
@@ -2733,7 +2733,7 @@ int snd_soc_dapm_put_volsw(struct snd_kcontrol *kcontrol,
...
@@ -2733,7 +2733,7 @@ int snd_soc_dapm_put_volsw(struct snd_kcontrol *kcontrol,
}
}
mutex_unlock
(
&
card
->
dapm_mutex
);
mutex_unlock
(
&
card
->
dapm_mutex
);
return
0
;
return
change
;
}
}
EXPORT_SYMBOL_GPL
(
snd_soc_dapm_put_volsw
);
EXPORT_SYMBOL_GPL
(
snd_soc_dapm_put_volsw
);
...
@@ -2861,7 +2861,6 @@ int snd_soc_dapm_put_enum_virt(struct snd_kcontrol *kcontrol,
...
@@ -2861,7 +2861,6 @@ int snd_soc_dapm_put_enum_virt(struct snd_kcontrol *kcontrol,
struct
soc_enum
*
e
=
struct
soc_enum
*
e
=
(
struct
soc_enum
*
)
kcontrol
->
private_value
;
(
struct
soc_enum
*
)
kcontrol
->
private_value
;
int
change
;
int
change
;
int
ret
=
0
;
int
wi
;
int
wi
;
if
(
ucontrol
->
value
.
enumerated
.
item
[
0
]
>=
e
->
max
)
if
(
ucontrol
->
value
.
enumerated
.
item
[
0
]
>=
e
->
max
)
...
@@ -2881,7 +2880,7 @@ int snd_soc_dapm_put_enum_virt(struct snd_kcontrol *kcontrol,
...
@@ -2881,7 +2880,7 @@ int snd_soc_dapm_put_enum_virt(struct snd_kcontrol *kcontrol,
}
}
mutex_unlock
(
&
card
->
dapm_mutex
);
mutex_unlock
(
&
card
->
dapm_mutex
);
return
ret
;
return
change
;
}
}
EXPORT_SYMBOL_GPL
(
snd_soc_dapm_put_enum_virt
);
EXPORT_SYMBOL_GPL
(
snd_soc_dapm_put_enum_virt
);
...
...
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