[Top] [All Lists]

Re: Trouble with sound/mips/au1x00.c AC97 driver

Subject: Re: Trouble with sound/mips/au1x00.c AC97 driver
From: "Marco Braga" <>
Date: Tue, 13 Mar 2007 09:44:01 +0100
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed;; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=sxGukbo+DPKXTrDGHOfhF46GLyTbE1G4AVM1sRf0eTaeViLLVi1omYI7cfFLDuSdPdFnFnEhr8r0ZwyJ/+5CGv8kd4vg7Mk8dzOfrRcPMvAr9t2589S3kU8h3fXK6A8LvYivxz/HOelkZru/2t6oSYV4km6RzPOfZX4drRW4VOA=
Domainkey-signature: a=rsa-sha1; c=nofws;; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=q1u/IW96R7Fc4jA3LNcWSfBknHYNYcuM8Lg5l69W+qV87XuBMZuU2pb168aVV4Z32rZcNqAA8J6R21H23N2sWTkQMk+8EOPG9ipQDJXYcZoqwHVHmchPerp2BbZV8dqoSa2JlgOOMr32u6+wAsXN3jKGLQpvtkL1d4D/HGWb6Zo=
In-reply-to: <>
Original-recipient: rfc822;
References: <> <> <> <> <> <> <> <> <> <>
Hello everyone,

2007/3/13, Charles Eidsness <>:
I wonder if the AC'97 Controller has to be up for at least one frame
before issuing the cold reset. Each frame is 20.8us, you could try
setting that delay to 25us instead of 500ms.

I've tested this. I've changed my delay to a "udelay(25)". It didn't work.

Sergei on the mailing list had a good suggestion as well. You could try
replacing every udelay with an au_sync_udelay, and each mdelay with an

I've done this too. Still no success.
You could even try dropping in an au_sync at the end of
the snd_au1000_ac97_new function.

No success, but I've found that I can reduce the delay to at least 200ms. I'll try with lower values.

I hope that my inexperience (and perhapes errors while testing) don't lead you to wrong conclusions, but from the trials I've done the only change that at the moment works for me is the 200ms delay.
<Prev in Thread] Current Thread [Next in Thread>