ALSA: cs5535audio: create function for setting OLPC's Analog Input mode
Subsystems (2)
PATCH 6/14 ALSA: cs5535audio: create function for setting OLPC's Analog Input mode
Clean this stuff up a bit..
Signed-off-by Andres Salomon <[email protected]>
--- 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
@@ -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