All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Ujfalusi <peter.ujfalusi@ti.com>
To: Shawn Guo <shawn.guo@linaro.org>
Cc: alsa-devel@alsa-project.org, Lars-Peter Clausen <lars@metafoo.de>,
	Russell King - ARM Linux <linux@arm.linux.org.uk>,
	Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>,
	Tony Lindgren <tony@atomide.com>,
	Ricardo Neri <ricardo.neri@ti.com>,
	Mark Brown <broonie@opensource.wolfsonmicro.com>,
	Nicolas Ferre <nicolas.ferre@atmel.com>,
	linux-kernel@vger.kernel.org, Vinod Koul <vinod.koul@intel.com>,
	Zhangfei Gao <zhangfei.gao@marvell.com>,
	Laxman Dewangan <ldewangan@nvidia.com>,
	Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>,
	linux-arm-kernel@lists.infradead.org,
	Barry Song <baohua.song@csr.com>, Dan Williams <djbw@fb.com>,
	Russell King <rmk+kernel@arm.linux.org.uk>,
	linux-omap@vger.kernel.org, Liam Girdwood <lrg@ti.com>,
	Jarkko Nikula <jarkko.nikula@bitmer.com>,
	Vista Silicon <javier.martin@vista-silicon.com>
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	[thread overview]
Message-ID: <5056CE65.9080401@ti.com> (raw)
In-Reply-To: <20120917063451.GB6413@S2101-09.ap.freescale.net>

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 <peter.ujfalusi@ti.com>
>> CC: Nicolas Ferre <nicolas.ferre@atmel.com>
>> CC: Barry Song <baohua.song@csr.com>
>> CC: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
>> CC: Russell King - ARM Linux <linux@arm.linux.org.uk>
>> CC: Vista Silicon <javier.martin@vista-silicon.com>
>> CC: Zhangfei Gao <zhangfei.gao@marvell.com>
>> CC: Shawn Guo <shawn.guo@linaro.org>
>> CC: Laxman Dewangan <ldewangan@nvidia.com>
>> ---
>>  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

WARNING: multiple messages have this Message-ID (diff)
From: peter.ujfalusi@ti.com (Peter Ujfalusi)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 04/15] dmaengine: Pass no_wakeup parameter via device_prep_dma_cyclic() callback
Date: Mon, 17 Sep 2012 10:16:53 +0300	[thread overview]
Message-ID: <5056CE65.9080401@ti.com> (raw)
In-Reply-To: <20120917063451.GB6413@S2101-09.ap.freescale.net>

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 <peter.ujfalusi@ti.com>
>> CC: Nicolas Ferre <nicolas.ferre@atmel.com>
>> CC: Barry Song <baohua.song@csr.com>
>> CC: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
>> CC: Russell King - ARM Linux <linux@arm.linux.org.uk>
>> CC: Vista Silicon <javier.martin@vista-silicon.com>
>> CC: Zhangfei Gao <zhangfei.gao@marvell.com>
>> CC: Shawn Guo <shawn.guo@linaro.org>
>> CC: Laxman Dewangan <ldewangan@nvidia.com>
>> ---
>>  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

WARNING: multiple messages have this Message-ID (diff)
From: Peter Ujfalusi <peter.ujfalusi@ti.com>
To: Shawn Guo <shawn.guo@linaro.org>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>,
	Liam Girdwood <lrg@ti.com>, Tony Lindgren <tony@atomide.com>,
	Russell King <rmk+kernel@arm.linux.org.uk>,
	Vinod Koul <vinod.koul@intel.com>, Dan Williams <djbw@fb.com>,
	Jarkko Nikula <jarkko.nikula@bitmer.com>,
	alsa-devel@alsa-project.org, linux-omap@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org,
	Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>,
	Ricardo Neri <ricardo.neri@ti.com>,
	Lars-Peter Clausen <lars@metafoo.de>,
	Nicolas Ferre <nicolas.ferre@atmel.com>,
	Barry Song <baohua.song@csr.com>,
	Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>,
	Russell King - ARM Linux <linux@arm.linux.org.uk>,
	Vista Silicon <javier.martin@vista-silicon.com>,
	Zhangfei Gao <zhangfei.gao@marvell.com>,
	Laxman Dewangan <ldewangan@nvidia.com>
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	[thread overview]
Message-ID: <5056CE65.9080401@ti.com> (raw)
In-Reply-To: <20120917063451.GB6413@S2101-09.ap.freescale.net>

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 <peter.ujfalusi@ti.com>
>> CC: Nicolas Ferre <nicolas.ferre@atmel.com>
>> CC: Barry Song <baohua.song@csr.com>
>> CC: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
>> CC: Russell King - ARM Linux <linux@arm.linux.org.uk>
>> CC: Vista Silicon <javier.martin@vista-silicon.com>
>> CC: Zhangfei Gao <zhangfei.gao@marvell.com>
>> CC: Shawn Guo <shawn.guo@linaro.org>
>> CC: Laxman Dewangan <ldewangan@nvidia.com>
>> ---
>>  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

  reply	other threads:[~2012-09-17  7:16 UTC|newest]

Thread overview: 96+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-13 13:37 [PATCH v2 00/15] ASoC: OMAP: Convert to use dmaengine Peter Ujfalusi
2012-09-13 13:37 ` Peter Ujfalusi
2012-09-13 13:37 ` Peter Ujfalusi
2012-09-13 13:37 ` [PATCH v2 01/15] dmaengine: omap: Support for element mode in cyclic DMA Peter Ujfalusi
2012-09-13 13:37   ` Peter Ujfalusi
2012-09-13 13:37 ` [PATCH v2 02/15] dmaengine: omap: Add support for pause/resume in cyclic dma mode Peter Ujfalusi
2012-09-13 13:37   ` Peter Ujfalusi
2012-09-13 13:37   ` Peter Ujfalusi
2012-09-13 13:37 ` [PATCH v2 03/15] dmaengine: Add no_wakeup parameter to dmaengine_prep_dma_cyclic() Peter Ujfalusi
2012-09-13 13:37   ` Peter Ujfalusi
2012-09-13 13:37   ` Peter Ujfalusi
2012-09-13 15:27   ` Lars-Peter Clausen
2012-09-13 15:27     ` Lars-Peter Clausen
2012-09-13 15:27     ` Lars-Peter Clausen
2012-09-13 15:38     ` Russell King - ARM Linux
2012-09-13 15:38       ` Russell King - ARM Linux
2012-09-14  3:27       ` Vinod Koul
2012-09-14  3:27         ` Vinod Koul
2012-09-14  3:27         ` Vinod Koul
2012-09-14  7:15       ` Peter Ujfalusi
2012-09-14  7:15         ` Peter Ujfalusi
2012-09-14  7:15         ` Peter Ujfalusi
2012-09-14  3:26     ` Vinod Koul
2012-09-14  3:26       ` Vinod Koul
2012-09-14  3:26       ` Vinod Koul
2012-09-14  7:18       ` Peter Ujfalusi
2012-09-14  7:18         ` [alsa-devel] " Peter Ujfalusi
2012-09-14  7:18         ` Peter Ujfalusi
2012-09-14  8:13       ` Lars-Peter Clausen
2012-09-14  8:13         ` Lars-Peter Clausen
2012-09-14  8:13         ` Lars-Peter Clausen
2012-09-14  8:50         ` Vinod Koul
2012-09-14  8:50           ` Vinod Koul
2012-09-14  8:50           ` Vinod Koul
2012-09-14  9:28           ` Peter Ujfalusi
2012-09-14  9:28             ` Peter Ujfalusi
2012-09-14  9:28             ` Peter Ujfalusi
2012-09-14  9:38             ` Vinod Koul
2012-09-14  9:38               ` Vinod Koul
2012-09-14  9:38               ` Vinod Koul
2012-09-14 10:01             ` Russell King - ARM Linux
2012-09-14 10:01               ` Russell King - ARM Linux
2012-09-14  7:12     ` Peter Ujfalusi
2012-09-14  7:12       ` Peter Ujfalusi
2012-09-13 13:37 ` [PATCH v2 04/15] dmaengine: Pass no_wakeup parameter via device_prep_dma_cyclic() callback Peter Ujfalusi
2012-09-13 13:37   ` Peter Ujfalusi
2012-09-14  3:24   ` Vinod Koul
2012-09-14  3:24     ` Vinod Koul
2012-09-14  3:24     ` Vinod Koul
2012-09-14  7:07     ` Peter Ujfalusi
2012-09-14  7:07       ` Peter Ujfalusi
2012-09-14  7:07       ` Peter Ujfalusi
2012-09-17  6:34   ` Shawn Guo
2012-09-17  6:34     ` Shawn Guo
2012-09-17  6:34     ` Shawn Guo
2012-09-17  7:16     ` Peter Ujfalusi [this message]
2012-09-17  7:16       ` Peter Ujfalusi
2012-09-17  7:16       ` Peter Ujfalusi
2012-09-17  7:23       ` Shawn Guo
2012-09-17  7:23         ` Shawn Guo
2012-09-17  9:01   ` Linus Walleij
2012-09-17  9:01     ` Linus Walleij
2012-09-17  9:01     ` Linus Walleij
2012-09-18  8:31     ` Russell King - ARM Linux
2012-09-18  8:31       ` Russell King - ARM Linux
2012-09-18  8:31       ` Russell King - ARM Linux
2012-09-18  9:00       ` Vinod Koul
2012-09-18  9:00         ` Vinod Koul
2012-09-18  9:00         ` Vinod Koul
2012-09-18 12:22         ` Linus Walleij
2012-09-18 12:22           ` Linus Walleij
2012-09-18 12:22           ` Linus Walleij
2012-09-13 13:37 ` [PATCH v2 05/15] dmaengine: omap-dma: Add support for no_wakeup in cyclic mode Peter Ujfalusi
2012-09-13 13:37   ` Peter Ujfalusi
2012-09-13 13:37   ` Peter Ujfalusi
2012-09-13 13:37 ` [PATCH v2 06/15] ASoC: omap-mcbsp: Use sDMA packet mode instead of frame mode Peter Ujfalusi
2012-09-13 13:37   ` Peter Ujfalusi
2012-09-13 13:37 ` [PATCH v2 07/15] ASoC: omap-pcm: Select sDMA synchronization based on packet_size Peter Ujfalusi
2012-09-13 13:37   ` Peter Ujfalusi
2012-09-13 13:37 ` [PATCH v2 08/15] ASoC: OMAP: Remove sync_mode from omap_pcm_dma_data struct Peter Ujfalusi
2012-09-13 13:37   ` Peter Ujfalusi
2012-09-13 13:37 ` [PATCH v2 09/15] ASoC: omap-pcm: Prepare to configure the DMA data_type based on stream properties Peter Ujfalusi
2012-09-13 13:37   ` Peter Ujfalusi
2012-09-13 13:38 ` [PATCH v2 10/15] ARM: OMAP4: hwmod_data: Add resource names to McPDM memory ranges Peter Ujfalusi
2012-09-13 13:38   ` Peter Ujfalusi
2012-09-13 13:38 ` [PATCH v2 11/15] ASoC: omap-mcpdm: Use platform_get_resource_* to get resources Peter Ujfalusi
2012-09-13 13:38   ` Peter Ujfalusi
2012-09-13 13:38   ` Peter Ujfalusi
2012-09-13 13:38 ` [PATCH v2 12/15] ASoC: OMAP: mcbsp, mcpdm, dmic: Let omap-pcm to pick the dma_type Peter Ujfalusi
2012-09-13 13:38   ` Peter Ujfalusi
2012-09-13 13:38 ` [PATCH v2 13/15] ASoC: omap-pcm, omap-dmic: Change the use of omap_pcm_dma_data->data_type Peter Ujfalusi
2012-09-13 13:38   ` Peter Ujfalusi
2012-09-13 13:38 ` [PATCH v2 14/15] ASoC: OMAP: mcbsp, mcpdm, dmic, hdmi: Set dma_data at startup time Peter Ujfalusi
2012-09-13 13:38   ` Peter Ujfalusi
2012-09-13 13:38 ` [PATCH v2 15/15] ASoC: omap-pcm: Convert to use dmaengine Peter Ujfalusi
2012-09-13 13:38   ` Peter Ujfalusi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5056CE65.9080401@ti.com \
    --to=peter.ujfalusi@ti.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=baohua.song@csr.com \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=djbw@fb.com \
    --cc=jarkko.nikula@bitmer.com \
    --cc=javier.martin@vista-silicon.com \
    --cc=jkrzyszt@tis.icnet.pl \
    --cc=lars@metafoo.de \
    --cc=ldewangan@nvidia.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=lrg@ti.com \
    --cc=nicolas.ferre@atmel.com \
    --cc=ricardo.neri@ti.com \
    --cc=rmk+kernel@arm.linux.org.uk \
    --cc=shawn.guo@linaro.org \
    --cc=srinidhi.kasagar@stericsson.com \
    --cc=tony@atomide.com \
    --cc=vinod.koul@intel.com \
    --cc=zhangfei.gao@marvell.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.