diff options
author | Andres Salomon <dilinger@queued.net> | 2008-11-06 16:44:08 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-12-10 11:14:40 -0500 |
commit | 3556d18465c6e67c7a8f436428b95671add02f57 (patch) | |
tree | d7ab24c23a9fb2c9ad99588e4bf29683de60c943 /sound/pci/cs5535audio/cs5535audio.c | |
parent | c8974be5465b87414fa542cf9cca1a1ba21b8d60 (diff) |
ALSA: cs5535audio: invert EAPD for OLPC (newer than B3)
Fix an audible pop described in <http://dev.laptop.org/ticket/977>. Originally
based upon fixes by Mitch Bradley and Chris Ball.
Signed-off-by: Andres Salomon <dilinger@debian.org>
Diffstat (limited to 'sound/pci/cs5535audio/cs5535audio.c')
-rw-r--r-- | sound/pci/cs5535audio/cs5535audio.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/pci/cs5535audio/cs5535audio.c b/sound/pci/cs5535audio/cs5535audio.c index 50333bb9242c..130f10a8d524 100644 --- a/sound/pci/cs5535audio/cs5535audio.c +++ b/sound/pci/cs5535audio/cs5535audio.c | |||
@@ -164,6 +164,9 @@ static int __devinit snd_cs5535audio_mixer(struct cs5535audio *cs5535au) | |||
164 | ac97.private_data = cs5535au; | 164 | ac97.private_data = cs5535au; |
165 | ac97.pci = cs5535au->pci; | 165 | ac97.pci = cs5535au->pci; |
166 | 166 | ||
167 | /* set any OLPC-specific scaps */ | ||
168 | olpc_prequirks(card, &ac97); | ||
169 | |||
167 | if ((err = snd_ac97_mixer(pbus, &ac97, &cs5535au->ac97)) < 0) { | 170 | if ((err = snd_ac97_mixer(pbus, &ac97, &cs5535au->ac97)) < 0) { |
168 | snd_printk(KERN_ERR "mixer failed\n"); | 171 | snd_printk(KERN_ERR "mixer failed\n"); |
169 | return err; | 172 | return err; |