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
4955f631
Commit
4955f631
authored
Mar 03, 2011
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'for-2.6.38' into for-2.6.39
parents
4a5f7bda
c8fb034c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
sound/soc/codecs/wm8978.c
sound/soc/codecs/wm8978.c
+8
-6
No files found.
sound/soc/codecs/wm8978.c
View file @
4955f631
...
@@ -145,18 +145,18 @@ static const struct snd_kcontrol_new wm8978_snd_controls[] = {
...
@@ -145,18 +145,18 @@ static const struct snd_kcontrol_new wm8978_snd_controls[] = {
SOC_SINGLE
(
"DAC Playback Limiter Threshold"
,
SOC_SINGLE
(
"DAC Playback Limiter Threshold"
,
WM8978_DAC_LIMITER_2
,
4
,
7
,
0
),
WM8978_DAC_LIMITER_2
,
4
,
7
,
0
),
SOC_SINGLE
(
"DAC Playback Limiter Boost"
,
SOC_SINGLE
(
"DAC Playback Limiter Boost"
,
WM8978_DAC_LIMITER_2
,
0
,
1
5
,
0
),
WM8978_DAC_LIMITER_2
,
0
,
1
2
,
0
),
SOC_ENUM
(
"ALC Enable Switch"
,
alc1
),
SOC_ENUM
(
"ALC Enable Switch"
,
alc1
),
SOC_SINGLE
(
"ALC Capture Min Gain"
,
WM8978_ALC_CONTROL_1
,
0
,
7
,
0
),
SOC_SINGLE
(
"ALC Capture Min Gain"
,
WM8978_ALC_CONTROL_1
,
0
,
7
,
0
),
SOC_SINGLE
(
"ALC Capture Max Gain"
,
WM8978_ALC_CONTROL_1
,
3
,
7
,
0
),
SOC_SINGLE
(
"ALC Capture Max Gain"
,
WM8978_ALC_CONTROL_1
,
3
,
7
,
0
),
SOC_SINGLE
(
"ALC Capture Hold"
,
WM8978_ALC_CONTROL_2
,
4
,
7
,
0
),
SOC_SINGLE
(
"ALC Capture Hold"
,
WM8978_ALC_CONTROL_2
,
4
,
10
,
0
),
SOC_SINGLE
(
"ALC Capture Target"
,
WM8978_ALC_CONTROL_2
,
0
,
15
,
0
),
SOC_SINGLE
(
"ALC Capture Target"
,
WM8978_ALC_CONTROL_2
,
0
,
15
,
0
),
SOC_ENUM
(
"ALC Capture Mode"
,
alc3
),
SOC_ENUM
(
"ALC Capture Mode"
,
alc3
),
SOC_SINGLE
(
"ALC Capture Decay"
,
WM8978_ALC_CONTROL_3
,
4
,
1
5
,
0
),
SOC_SINGLE
(
"ALC Capture Decay"
,
WM8978_ALC_CONTROL_3
,
4
,
1
0
,
0
),
SOC_SINGLE
(
"ALC Capture Attack"
,
WM8978_ALC_CONTROL_3
,
0
,
1
5
,
0
),
SOC_SINGLE
(
"ALC Capture Attack"
,
WM8978_ALC_CONTROL_3
,
0
,
1
0
,
0
),
SOC_SINGLE
(
"ALC Capture Noise Gate Switch"
,
WM8978_NOISE_GATE
,
3
,
1
,
0
),
SOC_SINGLE
(
"ALC Capture Noise Gate Switch"
,
WM8978_NOISE_GATE
,
3
,
1
,
0
),
SOC_SINGLE
(
"ALC Capture Noise Gate Threshold"
,
SOC_SINGLE
(
"ALC Capture Noise Gate Threshold"
,
...
@@ -211,8 +211,10 @@ static const struct snd_kcontrol_new wm8978_snd_controls[] = {
...
@@ -211,8 +211,10 @@ static const struct snd_kcontrol_new wm8978_snd_controls[] = {
WM8978_LOUT2_SPK_CONTROL
,
WM8978_ROUT2_SPK_CONTROL
,
6
,
1
,
1
),
WM8978_LOUT2_SPK_CONTROL
,
WM8978_ROUT2_SPK_CONTROL
,
6
,
1
,
1
),
/* DAC / ADC oversampling */
/* DAC / ADC oversampling */
SOC_SINGLE
(
"DAC 128x Oversampling Switch"
,
WM8978_DAC_CONTROL
,
8
,
1
,
0
),
SOC_SINGLE
(
"DAC 128x Oversampling Switch"
,
WM8978_DAC_CONTROL
,
SOC_SINGLE
(
"ADC 128x Oversampling Switch"
,
WM8978_ADC_CONTROL
,
8
,
1
,
0
),
5
,
1
,
0
),
SOC_SINGLE
(
"ADC 128x Oversampling Switch"
,
WM8978_ADC_CONTROL
,
5
,
1
,
0
),
};
};
/* Mixer #1: Output (OUT1, OUT2) Mixer: mix AUX, Input mixer output and DAC */
/* Mixer #1: Output (OUT1, OUT2) Mixer: mix AUX, Input mixer output and DAC */
...
...
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