Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
372a14a4
Commit
372a14a4
authored
Jun 29, 2009
by
Mark Brown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ASoC: Remove unreferenced wm8974_add_controls()
Signed-off-by:
Mark Brown
<
broonie@opensource.wolfsonmicro.com
>
parent
4fcbbb67
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
16 deletions
+0
-16
sound/soc/codecs/wm8974.c
sound/soc/codecs/wm8974.c
+0
-16
No files found.
sound/soc/codecs/wm8974.c
View file @
372a14a4
...
...
@@ -205,22 +205,6 @@ SOC_SINGLE("Capture Boost(+20dB)", WM8974_ADCBOOST, 8, 1, 0),
SOC_SINGLE
(
"Mono Playback Switch"
,
WM8974_MONOMIX
,
6
,
1
,
0
),
};
/* add non dapm controls */
static
int
wm8974_add_controls
(
struct
snd_soc_codec
*
codec
)
{
int
err
,
i
;
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
wm8974_snd_controls
);
i
++
)
{
err
=
snd_ctl_add
(
codec
->
card
,
snd_soc_cnew
(
&
wm8974_snd_controls
[
i
],
codec
,
NULL
));
if
(
err
<
0
)
return
err
;
}
return
0
;
}
/* Speaker Output Mixer */
static
const
struct
snd_kcontrol_new
wm8974_speaker_mixer_controls
[]
=
{
SOC_DAPM_SINGLE
(
"Line Bypass Switch"
,
WM8974_SPKMIX
,
1
,
1
,
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