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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux