Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755489Ab2FKO6Y (ORCPT ); Mon, 11 Jun 2012 10:58:24 -0400 Received: from cassiel.sirena.org.uk ([80.68.93.111]:52971 "EHLO cassiel.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755176Ab2FKO6V (ORCPT ); Mon, 11 Jun 2012 10:58:21 -0400 Date: Mon, 11 Jun 2012 22:57:42 +0800 From: Mark Brown To: Russell King - ARM Linux Cc: Lars-Peter Clausen , Liam Girdwood , Vinod Koul , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Message-ID: <20120611145735.GU11439@opensource.wolfsonmicro.com> References: <1339416253-4121-1-git-send-email-lars@metafoo.de> <1339416253-4121-2-git-send-email-lars@metafoo.de> <20120611132409.GG11168@n2100.arm.linux.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LtN0I0gXzHUftVCi" Content-Disposition: inline In-Reply-To: <20120611132409.GG11168@n2100.arm.linux.org.uk> X-Cookie: You are always busy. User-Agent: Mutt/1.5.21 (2010-09-15) X-SA-Exim-Connect-IP: 116.228.53.169 X-SA-Exim-Mail-From: broonie@opensource.wolfsonmicro.com Subject: Re: [PATCH 2/2] ASoC: dmaengine-pcm: Add support for querying stream position from DMA device X-SA-Exim-Version: 4.2.1 (built Mon, 22 Mar 2010 06:51:10 +0000) X-SA-Exim-Scanned: Yes (on cassiel.sirena.org.uk) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2043 Lines: 47 --LtN0I0gXzHUftVCi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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. --LtN0I0gXzHUftVCi Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBAgAGBQJP1gcgAAoJEBus8iNuMP3dyMMP/RVqeNqbgn6Zi3Dr7+LRST6q JMvM/uslSSZVOsIl6WTSPA0nwCwNEdK9im1hJM/irqolup/X/h5elwXJ/umRNvzk erQvvp054vrcLzo/HK6LBGpQiwDpVNfnRpGozScISOpu/DJWh5BH/KrMX/frKncx Z/lTpsunUE3vc60FqD3yA2DXeN2N7m82cavEYidhU7sQZJ7mM6LOl960AhRoe5BE ukRR0uxOmOkZEPiBjA6rABKZIv27pDcQ9J7LZdRO5j2FO5QXNtw/lcGuLXCKM63+ gaTJcVx9UPV4itHO0rQf8Gps9wKU56aABoDUm502Dq5aEDnBWUiG5fpv4Ez+ISAc NavsrmbyLMWdAPp8lkt5zuuyhlC9bt/+LDpr4ZPx0yDxWF6UUAxuaZ1KfWFcFqHN OSXILOhf4C8DiUkKbfgqL5npcPacOodoobSbfPCegwLfaz2G2A+1Tc60bQ5DpB7V SsRmxjvjFCNtf2lSxQ9Nm8hHWS1PlN2kce7NvCLeGYqPYa8A6zUIXp+oAt5FRa2x IFkSINNfH9jguwOnooRXONQgfEO4frET69awc5EV4lyB5wBAaJQpZ1kCxAgqpHvz VNcLFbWNl91sBM3ItgRs0CLYhE2poBoLRnr6vCrF5uOuUcaUjjfP4uz8TVmzt1pj 7dOz6hqN+P5nvGRPMyks =Okfd -----END PGP SIGNATURE----- --LtN0I0gXzHUftVCi-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/