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
2f5374d8
Commit
2f5374d8
authored
Dec 03, 2011
by
Mark Brown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ASoC: Convert WM8711 to table based control init
Signed-off-by:
Mark Brown
<
broonie@opensource.wolfsonmicro.com
>
parent
0f185e3f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
sound/soc/codecs/wm8711.c
sound/soc/codecs/wm8711.c
+2
-3
No files found.
sound/soc/codecs/wm8711.c
View file @
2f5374d8
...
@@ -374,9 +374,6 @@ static int wm8711_probe(struct snd_soc_codec *codec)
...
@@ -374,9 +374,6 @@ static int wm8711_probe(struct snd_soc_codec *codec)
snd_soc_update_bits
(
codec
,
WM8711_LOUT1V
,
0x0100
,
0x0100
);
snd_soc_update_bits
(
codec
,
WM8711_LOUT1V
,
0x0100
,
0x0100
);
snd_soc_update_bits
(
codec
,
WM8711_ROUT1V
,
0x0100
,
0x0100
);
snd_soc_update_bits
(
codec
,
WM8711_ROUT1V
,
0x0100
,
0x0100
);
snd_soc_add_controls
(
codec
,
wm8711_snd_controls
,
ARRAY_SIZE
(
wm8711_snd_controls
));
return
ret
;
return
ret
;
}
}
...
@@ -397,6 +394,8 @@ static struct snd_soc_codec_driver soc_codec_dev_wm8711 = {
...
@@ -397,6 +394,8 @@ static struct snd_soc_codec_driver soc_codec_dev_wm8711 = {
.
reg_cache_size
=
ARRAY_SIZE
(
wm8711_reg
),
.
reg_cache_size
=
ARRAY_SIZE
(
wm8711_reg
),
.
reg_word_size
=
sizeof
(
u16
),
.
reg_word_size
=
sizeof
(
u16
),
.
reg_cache_default
=
wm8711_reg
,
.
reg_cache_default
=
wm8711_reg
,
.
controls
=
wm8711_snd_controls
,
.
num_controls
=
ARRAY_SIZE
(
wm8711_snd_controls
),
.
dapm_widgets
=
wm8711_dapm_widgets
,
.
dapm_widgets
=
wm8711_dapm_widgets
,
.
num_dapm_widgets
=
ARRAY_SIZE
(
wm8711_dapm_widgets
),
.
num_dapm_widgets
=
ARRAY_SIZE
(
wm8711_dapm_widgets
),
.
dapm_routes
=
wm8711_intercon
,
.
dapm_routes
=
wm8711_intercon
,
...
...
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