From: Jon Smirl Subject: Re: Driver code with mpc5200 pointer problem. Date: Mon, 4 May 2009 09:22:22 -0400 Message-ID: <9e4733910905040622y32532527p477e8a5dd514b060@mail.gmail.com> References: <9e4733910905040529s3376153fj3191295b06e7c7c9@mail.gmail.com> <9e4733910905040558i7f8d9450h8f10ce96f9cf8868@mail.gmail.com> <20090504130039.GM6975@sirena.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from ey-out-1920.google.com (ey-out-1920.google.com [74.125.78.149]) by alsa0.perex.cz (Postfix) with ESMTP id 0F09F243EC for ; Mon, 4 May 2009 15:22:24 +0200 (CEST) Received: by ey-out-1920.google.com with SMTP id 26so746537eyw.56 for ; Mon, 04 May 2009 06:22:23 -0700 (PDT) In-Reply-To: <20090504130039.GM6975@sirena.org.uk> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Mark Brown Cc: Takashi Iwai , alsa-devel mailing list List-Id: alsa-devel@alsa-project.org On Mon, May 4, 2009 at 9:00 AM, Mark Brown wrote: > On Mon, May 04, 2009 at 08:58:04AM -0400, Jon Smirl wrote: >> On Mon, May 4, 2009 at 8:43 AM, Takashi Iwai wrote: > >> > Great. ?So can we remove BROKEN kconfig again? > >> Sure. There are only two current users of the driver and we know what >> is going on. > > Could you expand on what you mean by "we know what is going on"? =A0If the > driver is fixed then there shouldn't really be anything for anyone to > know, the driver should just work. > > I wouldn't count on you being the only users - you may be the only > people visibly talking about the driver in public but that's not quite > the same thing as being the only users. With the fix the driver is back to working the way it was before the jiffies issue completely broke it. But there are still problems in the driver. For example it is not terminating streams correctly. I get a little burp of sound at the end of stream that doesn't belong there. I'm trying to fix the burp. How is stream termination supposed to work? Right now when the driver gets STOP in the trigger function. It immediately stops the DMA engine and resets the I2S channel. I'm not clear on how this get synchronized in order to prevent the partial transfer of a DMA period and allowing the FIFO time to drain. > -- = Jon Smirl jonsmirl@gmail.com