[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120611145735.GU11439@opensource.wolfsonmicro.com>
Date: Mon, 11 Jun 2012 22:57:42 +0800
From: Mark Brown <broonie@...nsource.wolfsonmicro.com>
To: Russell King - ARM Linux <linux@....linux.org.uk>
Cc: Lars-Peter Clausen <lars@...afoo.de>, Liam Girdwood <lrg@...com>,
Vinod Koul <vinod.koul@...el.com>, alsa-devel@...a-project.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] ASoC: dmaengine-pcm: Add support for querying stream
position from DMA device
On Mon, Jun 11, 2012 at 02:24:09PM +0100, Russell King - ARM Linux wrote:
> What we need to do is to get rid of this idea that reporting the residue
> is optional for DMA engine drivers. Let's make it absolutely required
> in order to support cyclic transfers.
I tend to agree, if we are going to let things not implement this we
need to provide an out of bounds way for them to signal that they don't
support it and make it an error to use the interface at all. Otherwise
the interface complexity increases as you get into special cases and so
on. We only need to fix the drivers that are used with ASoC immediately
and there's not so many of them which is easier than being forced to get
every driver upgraded at once.
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists