Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 270897
b: refs/heads/master
c: dc56c5a
h: refs/heads/master
i:
  270895: d67fff0
v: v3
  • Loading branch information
Axel Lin authored and Mark Brown committed Oct 19, 2011
1 parent 5c87088 commit 2752dd2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 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: 56c09aa520ad488c35c580d6f6fb1821bb4317b8
refs/heads/master: dc56c5a862d1491dcdc561241371949cca6362e1
9 changes: 3 additions & 6 deletions trunk/sound/soc/codecs/sgtl5000.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,16 +131,13 @@ static int mic_bias_event(struct snd_soc_dapm_widget *w,
case SND_SOC_DAPM_POST_PMU:
/* change mic bias resistor to 4Kohm */
snd_soc_update_bits(w->codec, SGTL5000_CHIP_MIC_CTRL,
SGTL5000_BIAS_R_4k, SGTL5000_BIAS_R_4k);
SGTL5000_BIAS_R_MASK,
SGTL5000_BIAS_R_4k << SGTL5000_BIAS_R_SHIFT);
break;

case SND_SOC_DAPM_PRE_PMD:
/*
* SGTL5000_BIAS_R_8k as mask to clean the two bits
* of mic bias and output impedance
*/
snd_soc_update_bits(w->codec, SGTL5000_CHIP_MIC_CTRL,
SGTL5000_BIAS_R_8k, 0);
SGTL5000_BIAS_R_MASK, 0);
break;
}
return 0;
Expand Down

0 comments on commit 2752dd2

Please sign in to comment.