From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lars-Peter Clausen Subject: Re: [PATCH 1/6] ASoC: Add resource managed snd_dmaengine_pcm_register() Date: Mon, 25 Nov 2013 18:42:56 +0100 Message-ID: <52938C20.5030906@metafoo.de> References: <1385299262-24304-1-git-send-email-lars@metafoo.de> <20131125171922.GO14725@sirena.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from mailhost.informatik.uni-hamburg.de (mailhost.informatik.uni-hamburg.de [134.100.9.70]) by alsa0.perex.cz (Postfix) with ESMTP id B6E43261B08 for ; Mon, 25 Nov 2013 18:41:51 +0100 (CET) In-Reply-To: <20131125171922.GO14725@sirena.org.uk> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Mark Brown Cc: Fabio Estevam , alsa-devel@alsa-project.org, Rajeev Kumar , Ryan Mallon , Nicolas Ferre , Liam Girdwood , Timur Tabi , H Hartley Sweeten , Bo Shen , Markus Pargmann , Shawn Guo List-Id: alsa-devel@alsa-project.org On 11/25/2013 06:19 PM, Mark Brown wrote: > On Sun, Nov 24, 2013 at 02:20:57PM +0100, Lars-Peter Clausen wrote: > >> --- >> include/sound/dmaengine_pcm.h | 4 ++++ >> sound/soc/soc-generic-dmaengine-pcm.c | 36 +++++++++++++++++++++++++++++++++++ > > Please put the code in soc-devres.c. Otherwise this looks good, thanks! > I didn't put it there because it has a dependency on SND_SOC_GENERIC_DMAENGINE_PCM. Sothe options were to either add ifdefery to soc-devres.c or to put the managed function in soc-generic-dmaengine-pcm.c. - Lars