Skip to contentSkip to conversation

ALSA: cs5535audio: turn off mic bias on OLPCs by default

PATCH In review Andres Salomon 1 participant 1 message Nov 6, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 12/14 ALSA: cs5535audio: turn off mic bias on OLPCs by default

Always turn off mic bias; the MIC LED should never come on when the driver is first loaded.

---
 sound/pci/cs5535audio/cs5535audio_olpc.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
sound/pci/cs5535audio/cs5535audio_olpc.c +2 -0
index 73811e0..45b24f7 100644
@@ -157,6 +157,8 @@ int __devinit olpc_quirks(struct snd_card *card, struct snd_ac97 *ac97)
 			return err;
 	}
 
+	/* turn off the mic by default */
+	olpc_mic_bias(ac97, 0);
 	return 0;
 }
 
Signature · 1 line
1.5.6.5