Hi!
My fm801 card (Fortemedia, Inc Xwave QS3000A [FM801] (rev b2)) doesn't
like probing for secondary AC'97 codec. It needs a reset after probing.
Patch is attached.
Bye,
Szabi
--- cards/card-fm801.c.orig Fri Dec 28 20:55:11 2001
+++ cards/card-fm801.c Fri Dec 28 21:14:31 2001
@@ -972,6 +972,10 @@
schedule_timeout(1);
} while ((timeout - (signed long)jiffies) > 0);
}
+ /* codec cold reset + AC'97 warm reset */
+ outw((1<<5)|(1<<6), FM801_REG(chip, CODEC_CTRL));
+ udelay(100);
+ outw(0, FM801_REG(chip, CODEC_CTRL));
__ac97_ok: