linux-mips
[Top] [All Lists]

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

To: Marco Braga <marco.braga@gmail.com>
Subject: Re: Trouble with sound/mips/au1x00.c AC97 driver
From: Domen Puncer <domen.puncer@telargo.com>
Date: Mon, 12 Mar 2007 11:39:27 +0100
Cc: linux-mips@linux-mips.org
In-reply-to: <d459bb380703120259r53889966xd8af623ff01ef297@mail.gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20070307104930.GD25248@dusktilldawn.nl> <d459bb380703082322r18879381ma4c57149a8b7adfe@mail.gmail.com> <45F350E9.3020208@cooper-street.com> <d459bb380703120157wb3dde00p4c232e300e82fd3d@mail.gmail.com> <d459bb380703120259r53889966xd8af623ff01ef297@mail.gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.12-2006-07-14
On 12/03/07 10:59 +0100, Marco Braga wrote:
> Hello,
> 
> I've added to: "snd_au1000_ac97_new" the lines:
> 
> au1000->ac97_ioport->config = AC97C_SG | AC97C_SYNC;
> udelay(100);
> au1000->ac97_ioport->config = 0x0;
> 
> after the cold reset, as you suggested. Sadly this did not solve the
> problem.
> 
> It seems that the only solution I have at the moment is to add a longer
> delay between hard reset and warm reset. I've changed the "udelay(10)" to a
> "mdelay(250)" (I know, it is a huge delay) but now the module is loaded
> perfectly every time. Now I'll try to reduce the delay and find the min.
> I don't know if this issue is related to our board or if you can explain it.
> 

Hi!

It might be ignorance on my part, but aren't au_sync()'s needed here?


        Domen

<Prev in Thread] Current Thread [Next in Thread>