Explorar o código

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.

Signed-off-by: Andres Salomon <dilinger@debian.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Andres Salomon %!s(int64=17) %!d(string=hai) anos
pai
achega
c8f0eeebc1
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      sound/pci/cs5535audio/cs5535audio_olpc.c

+ 2 - 0
sound/pci/cs5535audio/cs5535audio_olpc.c

@@ -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;
 }