linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
To: Robert Jarzmik <robert.jarzmik@free.fr>
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>,
	Daniel Mack <daniel@zonque.org>,
	Haojian Zhuang <haojian.zhuang@gmail.com>,
	Ezequiel Garcia <ezequiel.garcia@free-electrons.com>,
	Boris Brezillon <boris.brezillon@free-electrons.com>,
	David Woodhouse <dwmw2@infradead.org>,
	Brian Norris <computersforpeace@gmail.com>,
	Marek Vasut <marek.vasut@gmail.com>,
	Richard Weinberger <richard@nod.at>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Mark Brown <broonie@kernel.org>, Arnd Bergmann <arnd@arndb.de>,
	alsa-devel@alsa-project.org, netdev@vger.kernel.org,
	linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-ide@vger.kernel.org, linux-mtd@lists.infradead.org,
	dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-media@vger.kernel.org, alsa-devel@alsa-project.org
Subject: Applied "ata: pata_pxa: remove the dmaengine compat need" to the asoc tree
Date: Mon, 25 Jun 2018 14:15:22 +0100	[thread overview]
Message-ID: <E1fXRL0-0008N1-GA@debutante> (raw)
In-Reply-To: <20180524070703.11901-10-robert.jarzmik@free.fr>

The patch

   ata: pata_pxa: remove the dmaengine compat need

has been applied to the asoc tree at

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git 

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

From 273340e8bf86de53eef7073993352ea11c563696 Mon Sep 17 00:00:00 2001
From: Robert Jarzmik <robert.jarzmik@free.fr>
Date: Sun, 17 Jun 2018 19:02:13 +0200
Subject: [PATCH] ata: pata_pxa: remove the dmaengine compat need

As the pxa architecture switched towards the dmaengine slave map, the
old compatibility mechanism to acquire the dma requestor line number and
priority are not needed anymore.

This patch simplifies the dma resource acquisition, using the more
generic function dma_request_slave_channel().

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Acked-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
---
 drivers/ata/pata_pxa.c | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/drivers/ata/pata_pxa.c b/drivers/ata/pata_pxa.c
index f6c46e9a4dc0..e8b6a2e464c9 100644
--- a/drivers/ata/pata_pxa.c
+++ b/drivers/ata/pata_pxa.c
@@ -25,7 +25,6 @@
 #include <linux/libata.h>
 #include <linux/platform_device.h>
 #include <linux/dmaengine.h>
-#include <linux/dma/pxa-dma.h>
 #include <linux/gpio.h>
 #include <linux/slab.h>
 #include <linux/completion.h>
@@ -180,8 +179,6 @@ static int pxa_ata_probe(struct platform_device *pdev)
 	struct resource *irq_res;
 	struct pata_pxa_pdata *pdata = dev_get_platdata(&pdev->dev);
 	struct dma_slave_config	config;
-	dma_cap_mask_t mask;
-	struct pxad_param param;
 	int ret = 0;
 
 	/*
@@ -278,10 +275,6 @@ static int pxa_ata_probe(struct platform_device *pdev)
 
 	ap->private_data = data;
 
-	dma_cap_zero(mask);
-	dma_cap_set(DMA_SLAVE, mask);
-	param.prio = PXAD_PRIO_LOWEST;
-	param.drcmr = pdata->dma_dreq;
 	memset(&config, 0, sizeof(config));
 	config.src_addr_width = DMA_SLAVE_BUSWIDTH_2_BYTES;
 	config.dst_addr_width = DMA_SLAVE_BUSWIDTH_2_BYTES;
@@ -294,8 +287,7 @@ static int pxa_ata_probe(struct platform_device *pdev)
 	 * Request the DMA channel
 	 */
 	data->dma_chan =
-		dma_request_slave_channel_compat(mask, pxad_filter_fn,
-						 &param, &pdev->dev, "data");
+		dma_request_slave_channel(&pdev->dev, "data");
 	if (!data->dma_chan)
 		return -EBUSY;
 	ret = dmaengine_slave_config(data->dma_chan, &config);
-- 
2.18.0.rc2


  reply	other threads:[~2018-06-25 13:17 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-24  7:06 [PATCH v2 00/13] ARM: pxa: switch to DMA slave maps Robert Jarzmik
2018-05-24  7:06 ` [PATCH v2 01/13] dmaengine: pxa: use a dma slave map Robert Jarzmik
2018-06-25 13:15   ` Applied "dmaengine: pxa: use a dma slave map" to the asoc tree Mark Brown
2018-05-24  7:06 ` [PATCH v2 02/13] ARM: pxa: add dma slave map Robert Jarzmik
2018-05-24 18:11   ` Robert Jarzmik
2018-05-24  7:06 ` [PATCH v2 03/13] mmc: pxamci: remove the dmaengine compat need Robert Jarzmik
2018-06-25 13:15   ` Applied "mmc: pxamci: remove the dmaengine compat need" to the asoc tree Mark Brown
2018-05-24  7:06 ` [PATCH v2 04/13] media: pxa_camera: remove the dmaengine compat need Robert Jarzmik
2018-06-25 13:15   ` Applied "media: pxa_camera: remove the dmaengine compat need" to the asoc tree Mark Brown
2018-05-24  7:06 ` [PATCH v2 05/13] mtd: rawnand: marvell: remove the dmaengine compat need Robert Jarzmik
2018-05-24  9:30   ` Miquel Raynal
2018-05-24 18:07     ` Robert Jarzmik
2018-05-25  6:56       ` Miquel Raynal
2018-05-24  7:06 ` [PATCH v2 06/13] net: smc911x: " Robert Jarzmik
2018-05-24  7:06 ` [PATCH v2 07/13] net: smc91x: " Robert Jarzmik
2018-05-24  7:06 ` [PATCH v2 08/13] ASoC: pxa: " Robert Jarzmik
2018-05-24 13:58   ` Mark Brown
2018-05-25  8:35   ` Daniel Mack
2018-06-29 11:07   ` Applied "ASoC: pxa: remove the dmaengine compat need" to the asoc tree Mark Brown
2018-05-24  7:06 ` [PATCH v2 09/13] ata: pata_pxa: remove the dmaengine compat need Robert Jarzmik
2018-06-25 13:15   ` Mark Brown [this message]
2018-05-24  7:07 ` [PATCH v2 10/13] dmaengine: pxa: document pxad_param Robert Jarzmik
2018-05-25 10:59   ` Vinod
2018-06-25 13:15   ` Applied "dmaengine: pxa: document pxad_param" to the asoc tree Mark Brown
2018-05-24  7:07 ` [PATCH v2 11/13] dmaengine: pxa: make the filter function internal Robert Jarzmik
2018-05-25 10:59   ` Vinod
2018-05-24  7:07 ` [PATCH v2 12/13] ARM: pxa: remove the DMA IO resources Robert Jarzmik
2018-06-25 13:15   ` Applied "ARM: pxa: remove the DMA IO resources" to the asoc tree Mark Brown
2018-05-24  7:07 ` [PATCH v2 13/13] ARM: pxa: change SSP DMA channels allocation Robert Jarzmik
2018-05-25  7:56   ` Daniel Mack
2018-06-25 13:15   ` Applied "ARM: pxa: change SSP DMA channels allocation" to the asoc tree Mark Brown

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=E1fXRL0-0008N1-GA@debutante \
    --to=broonie@kernel.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=arnd@arndb.de \
    --cc=b.zolnierkie@samsung.com \
    --cc=boris.brezillon@free-electrons.com \
    --cc=computersforpeace@gmail.com \
    --cc=daniel@zonque.org \
    --cc=dmaengine@vger.kernel.org \
    --cc=dwmw2@infradead.org \
    --cc=ezequiel.garcia@free-electrons.com \
    --cc=haojian.zhuang@gmail.com \
    --cc=lgirdwood@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=marek.vasut@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=richard@nod.at \
    --cc=robert.jarzmik@free.fr \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).