Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 193417
b: refs/heads/master
c: db13802
h: refs/heads/master
i:
  193415: db0858c
v: v3
  • Loading branch information
Jarkko Nikula authored and Liam Girdwood committed Apr 27, 2010
1 parent 3dbc5a3 commit 6dd0cf8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 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: d3235c4ac17b7f2a9c64cc3ebc71e23d1d1fa466
refs/heads/master: db13802e51f29c40b404038485121a3973c0947d
10 changes: 3 additions & 7 deletions trunk/sound/soc/codecs/tlv320aic3x.c
Original file line number Diff line number Diff line change
Expand Up @@ -997,21 +997,17 @@ static int aic3x_set_bias_level(struct snd_soc_codec *codec,

switch (level) {
case SND_SOC_BIAS_ON:
/* all power is driven by DAPM system */
break;
case SND_SOC_BIAS_PREPARE:
if (aic3x->master) {
/* enable pll */
reg = aic3x_read_reg_cache(codec, AIC3X_PLL_PROGA_REG);
aic3x_write(codec, AIC3X_PLL_PROGA_REG,
reg | PLL_ENABLE);
}
break;
case SND_SOC_BIAS_PREPARE:
break;
case SND_SOC_BIAS_STANDBY:
/*
* all power is driven by DAPM system,
* so output power is safe if bypass was set
*/
/* fall through and disable pll */
case SND_SOC_BIAS_OFF:
if (aic3x->master) {
/* disable pll */
Expand Down

0 comments on commit 6dd0cf8

Please sign in to comment.