]> git.hungrycats.org Git - linux/commitdiff
[PATCH] ac97_plugin_ad1980 porting fix
authorAndrew Morton <akpm@osdl.org>
Sat, 15 May 2004 03:26:00 +0000 (20:26 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 15 May 2004 03:26:00 +0000 (20:26 -0700)
From: "Uwe Bugla" <uwe.bugla@gmx.de>

Fix up a mistake in the 2.4->2.6 forward-port of this driver.

sound/oss/ac97_plugin_ad1980.c

index 0015a044f53643962bb207c20a89b8eb32a6d1b5..24a9acd281607acdc95b6076bcfc9dc3b4a5cc85 100644 (file)
@@ -75,7 +75,7 @@ static int ad1980_probe(struct ac97_codec *codec, struct ac97_driver *driver)
 
        /* Switch the inputs/outputs over (from Dell code) */
        control = codec->codec_read(codec, AC97_AD_MISC);
-       codec->codec_write(codec, AC97_AD_MISC, control | 0x0420);
+       codec->codec_write(codec, AC97_AD_MISC, control | 0x4420);
        
        /* We could refuse the device since we dont need to hang around,
           but we will claim it */