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
c200d888
Commit
c200d888
authored
Aug 15, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/fix/cs42l52' into asoc-linus
parents
d4e4ab86
8806d96d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
sound/soc/codecs/cs42l52.c
sound/soc/codecs/cs42l52.c
+4
-1
No files found.
sound/soc/codecs/cs42l52.c
View file @
c200d888
...
@@ -195,6 +195,8 @@ static DECLARE_TLV_DB_SCALE(pga_tlv, -600, 50, 0);
...
@@ -195,6 +195,8 @@ static DECLARE_TLV_DB_SCALE(pga_tlv, -600, 50, 0);
static
DECLARE_TLV_DB_SCALE
(
mix_tlv
,
-
50
,
50
,
0
);
static
DECLARE_TLV_DB_SCALE
(
mix_tlv
,
-
50
,
50
,
0
);
static
DECLARE_TLV_DB_SCALE
(
beep_tlv
,
-
56
,
200
,
0
);
static
const
unsigned
int
limiter_tlv
[]
=
{
static
const
unsigned
int
limiter_tlv
[]
=
{
TLV_DB_RANGE_HEAD
(
2
),
TLV_DB_RANGE_HEAD
(
2
),
0
,
2
,
TLV_DB_SCALE_ITEM
(
-
3000
,
600
,
0
),
0
,
2
,
TLV_DB_SCALE_ITEM
(
-
3000
,
600
,
0
),
...
@@ -451,7 +453,8 @@ static const struct snd_kcontrol_new cs42l52_snd_controls[] = {
...
@@ -451,7 +453,8 @@ static const struct snd_kcontrol_new cs42l52_snd_controls[] = {
SOC_ENUM
(
"Beep Pitch"
,
beep_pitch_enum
),
SOC_ENUM
(
"Beep Pitch"
,
beep_pitch_enum
),
SOC_ENUM
(
"Beep on Time"
,
beep_ontime_enum
),
SOC_ENUM
(
"Beep on Time"
,
beep_ontime_enum
),
SOC_ENUM
(
"Beep off Time"
,
beep_offtime_enum
),
SOC_ENUM
(
"Beep off Time"
,
beep_offtime_enum
),
SOC_SINGLE_TLV
(
"Beep Volume"
,
CS42L52_BEEP_VOL
,
0
,
0x1f
,
0x07
,
hl_tlv
),
SOC_SINGLE_SX_TLV
(
"Beep Volume"
,
CS42L52_BEEP_VOL
,
0
,
0x07
,
0x1f
,
beep_tlv
),
SOC_SINGLE
(
"Beep Mixer Switch"
,
CS42L52_BEEP_TONE_CTL
,
5
,
1
,
1
),
SOC_SINGLE
(
"Beep Mixer Switch"
,
CS42L52_BEEP_TONE_CTL
,
5
,
1
,
1
),
SOC_ENUM
(
"Beep Treble Corner Freq"
,
beep_treble_enum
),
SOC_ENUM
(
"Beep Treble Corner Freq"
,
beep_treble_enum
),
SOC_ENUM
(
"Beep Bass Corner Freq"
,
beep_bass_enum
),
SOC_ENUM
(
"Beep Bass Corner Freq"
,
beep_bass_enum
),
...
...
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