Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Domen Puncer <domen.puncer@telargo.com>
To: Marco Braga <marco.braga@gmail.com>
Cc: linux-mips@linux-mips.org
Subject: Re: Trouble with sound/mips/au1x00.c AC97 driver
Date: Mon, 12 Mar 2007 11:39:27 +0100	[thread overview]
Message-ID: <20070312103927.GC14658@moe.telargo.com> (raw)
In-Reply-To: <d459bb380703120259r53889966xd8af623ff01ef297@mail.gmail.com>

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

  reply	other threads:[~2007-03-12 10:40 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-07 10:49 Trouble with sound/mips/au1x00.c AC97 driver Freddy Spierenburg
2007-03-09  7:22 ` Marco Braga
2007-03-09 10:33   ` Freddy Spierenburg
2007-03-10 13:20     ` Marco Braga
     [not found]   ` <45F350E9.3020208@cooper-street.com>
     [not found]     ` <d459bb380703120157wb3dde00p4c232e300e82fd3d@mail.gmail.com>
2007-03-12  9:59       ` Marco Braga
2007-03-12 10:39         ` Domen Puncer [this message]
2007-03-12 13:09           ` Marco Braga
2007-03-12 15:35             ` Sergei Shtylyov
2007-03-13  0:43               ` Ralf Baechle
2007-03-13  1:00                 ` Andrew Dyer
2007-03-13  1:09                   ` Ralf Baechle
2007-03-13  8:44                     ` Marco Braga
     [not found]         ` <45F5DC73.9060004@cooper-street.com>
     [not found]           ` <d459bb380703130143w7c98e1cchdbdae6cb9a7ac7ce@mail.gmail.com>
     [not found]             ` <45F71FFD.202@cooper-street.com>
2007-03-13 23:12               ` Marco Braga
2007-03-15  8:04                 ` Marco Braga
2007-04-16 14:47           ` Freddy Spierenburg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070312103927.GC14658@moe.telargo.com \
    --to=domen.puncer@telargo.com \
    --cc=linux-mips@linux-mips.org \
    --cc=marco.braga@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox