From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Ujfalusi Subject: Re: [PATCH v2 04/15] dmaengine: Pass no_wakeup parameter via device_prep_dma_cyclic() callback Date: Mon, 17 Sep 2012 10:16:53 +0300 Message-ID: <5056CE65.9080401@ti.com> References: <1347543485-339-1-git-send-email-peter.ujfalusi@ti.com> <1347543485-339-5-git-send-email-peter.ujfalusi@ti.com> <20120917063451.GB6413@S2101-09.ap.freescale.net> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from na3sys009aog119.obsmtp.com (na3sys009aog119.obsmtp.com [74.125.149.246]) by alsa0.perex.cz (Postfix) with ESMTP id ABEB7261601 for ; Mon, 17 Sep 2012 09:16:07 +0200 (CEST) Received: by oagl20 with SMTP id l20so4439413oag.38 for ; Mon, 17 Sep 2012 00:16:05 -0700 (PDT) In-Reply-To: <20120917063451.GB6413@S2101-09.ap.freescale.net> 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: Shawn Guo Cc: alsa-devel@alsa-project.org, Lars-Peter Clausen , Russell King - ARM Linux , Janusz Krzysztofik , Tony Lindgren , Ricardo Neri , Mark Brown , Nicolas Ferre , linux-kernel@vger.kernel.org, Vinod Koul , Zhangfei Gao , Laxman Dewangan , Srinidhi Kasagar , linux-arm-kernel@lists.infradead.org, Barry Song , Dan Williams , Russell King , linux-omap@vger.kernel.org, Liam Girdwood , Jarkko Nikula , Vista Silicon List-Id: alsa-devel@alsa-project.org On 09/17/2012 09:34 AM, Shawn Guo wrote: > On Thu, Sep 13, 2012 at 04:37:54PM +0300, Peter Ujfalusi wrote: >> Change the parameter list of device_prep_dma_cyclic() so the DMA drivers >> can receive the no_wakeup request coming from client drivers. >> This feature can be used during audio operation to disable all audio >> related interrupts. >> >> Signed-off-by: Peter Ujfalusi >> CC: Nicolas Ferre >> CC: Barry Song >> CC: Srinidhi Kasagar >> CC: Russell King - ARM Linux >> CC: Vista Silicon >> CC: Zhangfei Gao >> CC: Shawn Guo >> CC: Laxman Dewangan >> --- >> drivers/dma/at_hdmac.c | 3 ++- >> drivers/dma/ep93xx_dma.c | 4 +++- >> drivers/dma/imx-dma.c | 2 +- >> drivers/dma/imx-sdma.c | 2 +- >> drivers/dma/mmp_tdma.c | 2 +- >> drivers/dma/mxs-dma.c | 2 +- >> drivers/dma/omap-dma.c | 3 ++- >> drivers/dma/pl330.c | 2 +- >> drivers/dma/sa11x0-dma.c | 2 +- >> drivers/dma/sirf-dma.c | 2 +- >> drivers/dma/ste_dma40.c | 3 ++- >> drivers/dma/tegra20-apb-dma.c | 2 +- >> include/linux/dmaengine.h | 5 +++-- >> 13 files changed, 20 insertions(+), 14 deletions(-) >> > API changes without updating users? All users of this callback is updated with this patch. The public API (dmaengine_prep_dma_cyclic) is only used by ASoC, which has been updated by the previous patch. Note: this part has been updated for v3. -- = P=E9ter From mboxrd@z Thu Jan 1 00:00:00 1970 From: peter.ujfalusi@ti.com (Peter Ujfalusi) Date: Mon, 17 Sep 2012 10:16:53 +0300 Subject: [PATCH v2 04/15] dmaengine: Pass no_wakeup parameter via device_prep_dma_cyclic() callback In-Reply-To: <20120917063451.GB6413@S2101-09.ap.freescale.net> References: <1347543485-339-1-git-send-email-peter.ujfalusi@ti.com> <1347543485-339-5-git-send-email-peter.ujfalusi@ti.com> <20120917063451.GB6413@S2101-09.ap.freescale.net> Message-ID: <5056CE65.9080401@ti.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 09/17/2012 09:34 AM, Shawn Guo wrote: > On Thu, Sep 13, 2012 at 04:37:54PM +0300, Peter Ujfalusi wrote: >> Change the parameter list of device_prep_dma_cyclic() so the DMA drivers >> can receive the no_wakeup request coming from client drivers. >> This feature can be used during audio operation to disable all audio >> related interrupts. >> >> Signed-off-by: Peter Ujfalusi >> CC: Nicolas Ferre >> CC: Barry Song >> CC: Srinidhi Kasagar >> CC: Russell King - ARM Linux >> CC: Vista Silicon >> CC: Zhangfei Gao >> CC: Shawn Guo >> CC: Laxman Dewangan >> --- >> drivers/dma/at_hdmac.c | 3 ++- >> drivers/dma/ep93xx_dma.c | 4 +++- >> drivers/dma/imx-dma.c | 2 +- >> drivers/dma/imx-sdma.c | 2 +- >> drivers/dma/mmp_tdma.c | 2 +- >> drivers/dma/mxs-dma.c | 2 +- >> drivers/dma/omap-dma.c | 3 ++- >> drivers/dma/pl330.c | 2 +- >> drivers/dma/sa11x0-dma.c | 2 +- >> drivers/dma/sirf-dma.c | 2 +- >> drivers/dma/ste_dma40.c | 3 ++- >> drivers/dma/tegra20-apb-dma.c | 2 +- >> include/linux/dmaengine.h | 5 +++-- >> 13 files changed, 20 insertions(+), 14 deletions(-) >> > API changes without updating users? All users of this callback is updated with this patch. The public API (dmaengine_prep_dma_cyclic) is only used by ASoC, which has been updated by the previous patch. Note: this part has been updated for v3. -- P?ter From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753367Ab2IQHQK (ORCPT ); Mon, 17 Sep 2012 03:16:10 -0400 Received: from na3sys009aog101.obsmtp.com ([74.125.149.67]:54990 "EHLO na3sys009aog101.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751462Ab2IQHQH (ORCPT ); Mon, 17 Sep 2012 03:16:07 -0400 Message-ID: <5056CE65.9080401@ti.com> Date: Mon, 17 Sep 2012 10:16:53 +0300 From: Peter Ujfalusi User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120903 Thunderbird/15.0 MIME-Version: 1.0 To: Shawn Guo CC: Mark Brown , Liam Girdwood , Tony Lindgren , Russell King , Vinod Koul , Dan Williams , Jarkko Nikula , alsa-devel@alsa-project.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Janusz Krzysztofik , Ricardo Neri , Lars-Peter Clausen , Nicolas Ferre , Barry Song , Srinidhi Kasagar , Russell King - ARM Linux , Vista Silicon , Zhangfei Gao , Laxman Dewangan Subject: Re: [PATCH v2 04/15] dmaengine: Pass no_wakeup parameter via device_prep_dma_cyclic() callback References: <1347543485-339-1-git-send-email-peter.ujfalusi@ti.com> <1347543485-339-5-git-send-email-peter.ujfalusi@ti.com> <20120917063451.GB6413@S2101-09.ap.freescale.net> In-Reply-To: <20120917063451.GB6413@S2101-09.ap.freescale.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/17/2012 09:34 AM, Shawn Guo wrote: > On Thu, Sep 13, 2012 at 04:37:54PM +0300, Peter Ujfalusi wrote: >> Change the parameter list of device_prep_dma_cyclic() so the DMA drivers >> can receive the no_wakeup request coming from client drivers. >> This feature can be used during audio operation to disable all audio >> related interrupts. >> >> Signed-off-by: Peter Ujfalusi >> CC: Nicolas Ferre >> CC: Barry Song >> CC: Srinidhi Kasagar >> CC: Russell King - ARM Linux >> CC: Vista Silicon >> CC: Zhangfei Gao >> CC: Shawn Guo >> CC: Laxman Dewangan >> --- >> drivers/dma/at_hdmac.c | 3 ++- >> drivers/dma/ep93xx_dma.c | 4 +++- >> drivers/dma/imx-dma.c | 2 +- >> drivers/dma/imx-sdma.c | 2 +- >> drivers/dma/mmp_tdma.c | 2 +- >> drivers/dma/mxs-dma.c | 2 +- >> drivers/dma/omap-dma.c | 3 ++- >> drivers/dma/pl330.c | 2 +- >> drivers/dma/sa11x0-dma.c | 2 +- >> drivers/dma/sirf-dma.c | 2 +- >> drivers/dma/ste_dma40.c | 3 ++- >> drivers/dma/tegra20-apb-dma.c | 2 +- >> include/linux/dmaengine.h | 5 +++-- >> 13 files changed, 20 insertions(+), 14 deletions(-) >> > API changes without updating users? All users of this callback is updated with this patch. The public API (dmaengine_prep_dma_cyclic) is only used by ASoC, which has been updated by the previous patch. Note: this part has been updated for v3. -- Péter