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
5509f2f8
Commit
5509f2f8
authored
Jan 24, 2012
by
Mark Brown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ASoC: wm5100: Fix warnings from recent patches
Signed-off-by:
Mark Brown
<
broonie@opensource.wolfsonmicro.com
>
parent
15b52f10
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
sound/soc/codecs/wm5100.c
sound/soc/codecs/wm5100.c
+1
-2
No files found.
sound/soc/codecs/wm5100.c
View file @
5509f2f8
...
...
@@ -1346,7 +1346,7 @@ static int wm5100_set_bias_level(struct snd_soc_codec *codec,
enum
snd_soc_bias_level
level
)
{
struct
wm5100_priv
*
wm5100
=
snd_soc_codec_get_drvdata
(
codec
);
int
ret
,
i
;
int
ret
;
switch
(
level
)
{
case
SND_SOC_BIAS_ON
:
...
...
@@ -2504,7 +2504,6 @@ static int wm5100_probe(struct snd_soc_codec *codec)
static
int
wm5100_remove
(
struct
snd_soc_codec
*
codec
)
{
struct
wm5100_priv
*
wm5100
=
snd_soc_codec_get_drvdata
(
codec
);
struct
i2c_client
*
i2c
=
to_i2c_client
(
codec
->
dev
);
if
(
wm5100
->
pdata
.
hp_pol
)
{
gpio_free
(
wm5100
->
pdata
.
hp_pol
);
...
...
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