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
72e31981
Commit
72e31981
authored
Apr 28, 2009
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'for-2.6.30' into for-2.6.31
parents
6be01cfb
18cc8d8d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
sound/soc/codecs/twl4030.c
sound/soc/codecs/twl4030.c
+7
-1
No files found.
sound/soc/codecs/twl4030.c
View file @
72e31981
...
@@ -802,6 +802,12 @@ static DECLARE_TLV_DB_SCALE(analog_tlv, -2400, 200, 0);
...
@@ -802,6 +802,12 @@ static DECLARE_TLV_DB_SCALE(analog_tlv, -2400, 200, 0);
*/
*/
static
DECLARE_TLV_DB_SCALE
(
output_tvl
,
-
1200
,
600
,
1
);
static
DECLARE_TLV_DB_SCALE
(
output_tvl
,
-
1200
,
600
,
1
);
/*
* Gain control for earpiece amplifier
* 0 dB to 12 dB in 6 dB steps (mute instead of -6)
*/
static
DECLARE_TLV_DB_SCALE
(
output_ear_tvl
,
-
600
,
600
,
1
);
/*
/*
* Capture gain after the ADCs
* Capture gain after the ADCs
* from 0 dB to 31 dB in 1 dB steps
* from 0 dB to 31 dB in 1 dB steps
...
@@ -877,7 +883,7 @@ static const struct snd_kcontrol_new twl4030_snd_controls[] = {
...
@@ -877,7 +883,7 @@ static const struct snd_kcontrol_new twl4030_snd_controls[] = {
4
,
3
,
0
,
output_tvl
),
4
,
3
,
0
,
output_tvl
),
SOC_SINGLE_TLV_TWL4030
(
"Earpiece Playback Volume"
,
SOC_SINGLE_TLV_TWL4030
(
"Earpiece Playback Volume"
,
TWL4030_REG_EAR_CTL
,
4
,
3
,
0
,
output_tvl
),
TWL4030_REG_EAR_CTL
,
4
,
3
,
0
,
output_
ear_
tvl
),
/* Common capture gain controls */
/* Common capture gain controls */
SOC_DOUBLE_R_TLV
(
"TX1 Digital Capture Volume"
,
SOC_DOUBLE_R_TLV
(
"TX1 Digital Capture Volume"
,
...
...
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