diff options
author | Andres Salomon <dilinger@queued.net> | 2008-11-06 16:44:08 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-12-10 17:14:40 +0100 |
commit | 3556d18465c6e67c7a8f436428b95671add02f57 (patch) | |
tree | d7ab24c23a9fb2c9ad99588e4bf29683de60c943 /sound/pci/cs5535audio/cs5535audio.c | |
parent | c8974be5465b87414fa542cf9cca1a1ba21b8d60 (diff) | |
download | op-kernel-dev-3556d18465c6e67c7a8f436428b95671add02f57.zip op-kernel-dev-3556d18465c6e67c7a8f436428b95671add02f57.tar.gz |
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 50333bb..130f10a 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) ac97.private_data = cs5535au; ac97.pci = cs5535au->pci; + /* set any OLPC-specific scaps */ + olpc_prequirks(card, &ac97); + if ((err = snd_ac97_mixer(pbus, &ac97, &cs5535au->ac97)) < 0) { snd_printk(KERN_ERR "mixer failed\n"); return err; |