Commit 52e802f6 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] ac97_plugin_ad1980 porting fix

From: "Uwe Bugla" <uwe.bugla@gmx.de>

Fix up a mistake in the 2.4->2.6 forward-port of this driver.
parent 03e6a21b
...@@ -75,7 +75,7 @@ static int ad1980_probe(struct ac97_codec *codec, struct ac97_driver *driver) ...@@ -75,7 +75,7 @@ static int ad1980_probe(struct ac97_codec *codec, struct ac97_driver *driver)
/* Switch the inputs/outputs over (from Dell code) */ /* Switch the inputs/outputs over (from Dell code) */
control = codec->codec_read(codec, AC97_AD_MISC); 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, /* We could refuse the device since we dont need to hang around,
but we will claim it */ but we will claim it */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment