linux-mips
[Top] [All Lists]

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

To: linux-mips@linux-mips.org
Subject: Re: Trouble with sound/mips/au1x00.c AC97 driver
From: "Marco Braga" <marco.braga@gmail.com>
Date: Thu, 15 Mar 2007 09:04:23 +0100
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=ZkToqLJ+Y2Ym4RFfoicUEpUYw+1Y3DsPW5wmh9Co9d5ONWQV+I/cy6DMROPDnWxO87rwpluslA4HUio8z+8S/R9d/j2f0gLokBqICN4hkkGXz++w3hMTk/Ruqo9UlAoGCCVvW62tYhYWQtSPu+FMQoohjS/1PvVJyp1kaO3sY2o=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=HnYNKzF44/vT774oZ3inWSHo8lUfezrvo1ydNx2qJC8bNJwFM8UZP63gq+ee1nIrmNBow3oLqE5yxnSQIxBa1WeKnJuR0YYOB21P+cZdCXNCR0UflGN2zcY5Uuo6MIS5+v0G8c+VgAbKXEWLs/Vsh6fvIdcu4LFauGtzuOWNM5U=
In-reply-to: <d459bb380703131612m36c70ecaka83175b3d8a30bc5@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> <45F5DC73.9060004@cooper-street.com> <d459bb380703130143w7c98e1cchdbdae6cb9a7ac7ce@mail.gmail.com> <45F71FFD.202@cooper-street.com> <d459bb380703131612m36c70ecaka83175b3d8a30bc5@mail.gmail.com>
Sender: linux-mips-bounce@linux-mips.org
As promised, this is my change:

linux/sound/mips/au1x00.c, function "snd_au1000_ac97_new":

...
    /* Initialise Au1000's AC'97 Control Block */
    au1000->ac97_ioport->cntrl = AC97C_RS | AC97C_CE;
    udelay(10);
    au1000->ac97_ioport->cntrl = AC97C_CE;

    /* Original delay 10us */
    /* udelay(10); */

    /* New delay 200ms */
    mdelay(200);

    /* Initialise External CODEC -- cold reset */
    au1000->ac97_ioport->config = AC97C_RESET;
    udelay(10);
    au1000->ac97_ioport->config = 0x0;
    mdelay(5);
...


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