diff options
author | Jaya Kumar <jayakumar.lkml@gmail.com> | 2008-11-06 16:43:34 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-12-10 11:14:39 -0500 |
commit | 57d4bf6d8e965404b82b105ae44ddf137bb7b8e6 (patch) | |
tree | bb617355e385ec52d28d5f4aa858919d0b48c085 /sound/pci/cs5535audio/cs5535audio.h | |
parent | b6c52a2cdb58fca918eef9ada5ef3a6cd17a9240 (diff) |
ALSA: cs5535audio: OLPC analog input support
This is a 2nd cut at adding support for OLPC analog input.
Signed-off-by: Jaya Kumar <jayakumar.lkml@gmail.com>
Signed-off-by: Andres Salomon <dilinger@debian.org>
Diffstat (limited to 'sound/pci/cs5535audio/cs5535audio.h')
-rw-r--r-- | sound/pci/cs5535audio/cs5535audio.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sound/pci/cs5535audio/cs5535audio.h b/sound/pci/cs5535audio/cs5535audio.h index 1aa1e2bbdf74..adcb213eb276 100644 --- a/sound/pci/cs5535audio/cs5535audio.h +++ b/sound/pci/cs5535audio/cs5535audio.h | |||
@@ -92,6 +92,9 @@ struct cs5535audio { | |||
92 | struct snd_pcm_substream *playback_substream; | 92 | struct snd_pcm_substream *playback_substream; |
93 | struct snd_pcm_substream *capture_substream; | 93 | struct snd_pcm_substream *capture_substream; |
94 | struct cs5535audio_dma dmas[NUM_CS5535AUDIO_DMAS]; | 94 | struct cs5535audio_dma dmas[NUM_CS5535AUDIO_DMAS]; |
95 | #ifdef CONFIG_OLPC | ||
96 | int ec_analog_input_mode; | ||
97 | #endif | ||
95 | }; | 98 | }; |
96 | 99 | ||
97 | #ifdef CONFIG_PM | 100 | #ifdef CONFIG_PM |
@@ -99,6 +102,12 @@ int snd_cs5535audio_suspend(struct pci_dev *pci, pm_message_t state); | |||
99 | int snd_cs5535audio_resume(struct pci_dev *pci); | 102 | int snd_cs5535audio_resume(struct pci_dev *pci); |
100 | #endif | 103 | #endif |
101 | 104 | ||
105 | #ifdef CONFIG_OLPC | ||
106 | int olpc_quirks(struct snd_card *card, struct snd_ac97 *ac97); | ||
107 | #else | ||
108 | #define olpc_quirks(arg, arg2) (0) | ||
109 | #endif | ||
110 | |||
102 | int __devinit snd_cs5535audio_pcm(struct cs5535audio *cs5535audio); | 111 | int __devinit snd_cs5535audio_pcm(struct cs5535audio *cs5535audio); |
103 | 112 | ||
104 | #endif /* __SOUND_CS5535AUDIO_H */ | 113 | #endif /* __SOUND_CS5535AUDIO_H */ |