Skip to contentSkip to conversation

ALSA: cs5535audio: create function for setting OLPC's Analog Input mode

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

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

PATCH 6/14 ALSA: cs5535audio: create function for setting OLPC's Analog Input mode

Clean this stuff up a bit..

---
 sound/pci/cs5535audio/cs5535audio.h      |    2 +
 sound/pci/cs5535audio/cs5535audio_olpc.c |   54 +++++++++++++----------------
 2 files changed, 26 insertions(+), 30 deletions(-)
sound/pci/cs5535audio/cs5535audio.h +2 -0
index 31ecb33..22737fc 100644
@@ -103,6 +103,7 @@ int snd_cs5535audio_resume(struct pci_dev *pci);
 void __devinit olpc_prequirks(struct snd_card *card,
 		struct snd_ac97_template *ac97);
 int __devinit olpc_quirks(struct snd_card *card, struct snd_ac97 *ac97);
+void olpc_analog_input(struct snd_ac97 *ac97, int on);
 #else
 static inline void olpc_prequirks(struct snd_card *card,
 		struct snd_ac97_template *ac97) { }
@@ -110,6 +111,7 @@ static inline int olpc_quirks(struct snd_card *card, struct snd_ac97 *ac97)
 {
 	return 0;
 }
+static inline void olpc_analog_input(struct snd_ac97 *ac97, int on) { }
 #endif
 
 int __devinit snd_cs5535audio_pcm(struct cs5535audio *cs5535audio);
sound/pci/cs5535audio/cs5535audio_olpc.c +24 -30

74 lines not on this page · raw message

Signature · 1 line
1.5.6.5