|Subject:||Re: Trouble with sound/mips/au1x00.c AC97 driver|
|From:||"Marco Braga" <firstname.lastname@example.org>|
|Date:||Mon, 12 Mar 2007 10:59:09 +0100|
|Cc:||email@example.com, "Freddy Spierenburg" <firstname.lastname@example.org>|
|Dkim-signature:||a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=C6lKQpHSGshHgMFxoUuwLUByQlLqik0HMgDRwRurNU+bL78XJuhDYUtOQ0PaYGPPJQVRprecmt6pI3/d3FWlRp/C8FKGvrMuvTeU5ZF6VqOI3ib2ArnxCLBZoRcxRRJs28RywGulR5ktQQkCFCgmL0pn+kswtS8UUr/zRbqyQe8=|
|Domainkey-signature:||a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=ClT/M8xYnu2IgFW2tlJhw5yOAJWmXfWIjN3MOFAbBmlQp4+YEXp2lixy+J4n2i90A4OC+cDHkq/QIWMMzWulLrN7U/bduxhdl2g2462JwHmBJhMsNahytTsA8AKSv3iWhHuuWNb2fKmBet9RPNbkBKlPBirMI+Iirw3KOe3y8AU=|
|References:||<20070307104930.GD25248@dusktilldawn.nl> <email@example.com> <45F350E9.firstname.lastname@example.org> <email@example.com>|
I've added to: "snd_au1000_ac97_new" the lines:
au1000->ac97_ioport->config = AC97C_SG | AC97C_SYNC;
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.
What about the spin_lock_irqsave stuff? Do you suggest to leave them in or it is better to return to the old simple spin_lock?
2007/3/12, Marco Braga <firstname.lastname@example.org>:
Hi Charles, just a quick note: the "spin_lock_irqrestore" should be "spin_unlock_irqrestore". Anyway, the changed does not solve my problem (I've also tried the change in au1000_ac97_write).
|<Prev in Thread]||Current Thread||[Next in Thread>|
|Previous by Date:||Re: [PATCH 0/2] FLATMEM: allow memory to start at pfn != 0 [take #2], Franck Bui-Huu|
|Next by Date:||Re: Trouble with sound/mips/au1x00.c AC97 driver, Domen Puncer|
|Previous by Thread:||Re: Trouble with sound/mips/au1x00.c AC97 driver, Marco Braga|
|Next by Thread:||Re: Trouble with sound/mips/au1x00.c AC97 driver, Domen Puncer|
|Indexes:||[Date] [Thread] [Top] [All Lists]|