Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 230419
b: refs/heads/master
c: 65b7cec
h: refs/heads/master
i:
  230417: 833a710
  230415: a24d0d3
v: v3
  • Loading branch information
Olaya, Margarita authored and Liam Girdwood committed Dec 15, 2010
1 parent b4c0224 commit 58ceea0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 53a9ef15df8c0dc688fae33277a252f0dd2faf2d
refs/heads/master: 65b7cecc85b9bb7bb8ce74c6a3b280464b00c86c
9 changes: 9 additions & 0 deletions trunk/sound/soc/codecs/twl6040.c
Original file line number Diff line number Diff line change
Expand Up @@ -806,6 +806,15 @@ static int twl6040_set_bias_level(struct snd_soc_codec *codec,

/* initialize vdd/vss registers with reg_cache */
twl6040_init_vdd_regs(codec);

/* Set external boost GPO */
twl6040_write(codec, TWL6040_REG_GPOCTL, 0x02);

/* Set initial minimal gain values */
twl6040_write(codec, TWL6040_REG_HSGAIN, 0xFF);
twl6040_write(codec, TWL6040_REG_EARCTL, 0x1E);
twl6040_write(codec, TWL6040_REG_HFLGAIN, 0x1D);
twl6040_write(codec, TWL6040_REG_HFRGAIN, 0x1D);
break;
case SND_SOC_BIAS_OFF:
if (!priv->codec_powered)
Expand Down

0 comments on commit 58ceea0

Please sign in to comment.