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
Kirill Smelkov
linux
Commits
9a810e95
Commit
9a810e95
authored
Aug 30, 2011
by
Mark Brown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ASoC: Remove unused mutex from WM9090 driver
Signed-off-by:
Mark Brown
<
broonie@opensource.wolfsonmicro.com
>
parent
4a8923ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
sound/soc/codecs/wm9090.c
sound/soc/codecs/wm9090.c
+0
-2
No files found.
sound/soc/codecs/wm9090.c
View file @
9a810e95
...
@@ -139,7 +139,6 @@ static const u16 wm9090_reg_defaults[] = {
...
@@ -139,7 +139,6 @@ static const u16 wm9090_reg_defaults[] = {
/* This struct is used to save the context */
/* This struct is used to save the context */
struct
wm9090_priv
{
struct
wm9090_priv
{
struct
mutex
mutex
;
struct
wm9090_platform_data
pdata
;
struct
wm9090_platform_data
pdata
;
void
*
control_data
;
void
*
control_data
;
};
};
...
@@ -663,7 +662,6 @@ static int wm9090_i2c_probe(struct i2c_client *i2c,
...
@@ -663,7 +662,6 @@ static int wm9090_i2c_probe(struct i2c_client *i2c,
i2c_set_clientdata
(
i2c
,
wm9090
);
i2c_set_clientdata
(
i2c
,
wm9090
);
wm9090
->
control_data
=
i2c
;
wm9090
->
control_data
=
i2c
;
mutex_init
(
&
wm9090
->
mutex
);
ret
=
snd_soc_register_codec
(
&
i2c
->
dev
,
ret
=
snd_soc_register_codec
(
&
i2c
->
dev
,
&
soc_codec_dev_wm9090
,
NULL
,
0
);
&
soc_codec_dev_wm9090
,
NULL
,
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