Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 144548
b: refs/heads/master
c: 18cc8d8
h: refs/heads/master
v: v3
  • Loading branch information
Joonyoung Shim authored and Mark Brown committed Apr 28, 2009
1 parent 041f9bb commit 1976a81
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0c95de73a711d376dc17afe484f919bd5b66c016
refs/heads/master: 18cc8d8d9b74c446832336d8f6e1afb145f9431b
8 changes: 7 additions & 1 deletion trunk/sound/soc/codecs/twl4030.c
Original file line number Diff line number Diff line change
Expand Up @@ -835,6 +835,12 @@ static DECLARE_TLV_DB_SCALE(analog_tlv, -2400, 200, 0);
*/
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
* from 0 dB to 31 dB in 1 dB steps
Expand Down Expand Up @@ -900,7 +906,7 @@ static const struct snd_kcontrol_new twl4030_snd_controls[] = {
4, 3, 0, output_tvl),

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 */
SOC_DOUBLE_R_TLV("TX1 Digital Capture Volume",
Expand Down

0 comments on commit 1976a81

Please sign in to comment.