aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/cs5535audio/cs5535audio.c
diff options
context:
space:
mode:
authorJaya Kumar <jayakumar.lkml@gmail.com>2008-11-06 16:43:34 -0500
committerTakashi Iwai <tiwai@suse.de>2008-12-10 11:14:39 -0500
commit57d4bf6d8e965404b82b105ae44ddf137bb7b8e6 (patch)
treebb617355e385ec52d28d5f4aa858919d0b48c085 /sound/pci/cs5535audio/cs5535audio.c
parentb6c52a2cdb58fca918eef9ada5ef3a6cd17a9240 (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.c')
-rw-r--r--sound/pci/cs5535audio/cs5535audio.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/pci/cs5535audio/cs5535audio.c b/sound/pci/cs5535audio/cs5535audio.c
index 6c886edd06db..50333bb9242c 100644
--- a/sound/pci/cs5535audio/cs5535audio.c
+++ b/sound/pci/cs5535audio/cs5535audio.c
@@ -171,6 +171,13 @@ static int __devinit snd_cs5535audio_mixer(struct cs5535audio *cs5535au)
171 171
172 snd_ac97_tune_hardware(cs5535au->ac97, ac97_quirks, ac97_quirk); 172 snd_ac97_tune_hardware(cs5535au->ac97, ac97_quirks, ac97_quirk);
173 173
174 /* olpc_quirks is dummied out if not olpc */
175 err = olpc_quirks(card, cs5535au->ac97);
176 if (err < 0) {
177 snd_printk(KERN_ERR "olpc quirks failed\n");
178 return err;
179 }
180
174 return 0; 181 return 0;
175} 182}
176 183