[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211122222203.4103644-7-arnd@kernel.org>
Date: Mon, 22 Nov 2021 23:21:58 +0100
From: Arnd Bergmann <arnd@...nel.org>
To: Vinod Koul <vkoul@...nel.org>
Cc: Arnd Bergmann <arnd@...db.de>, Andy Gross <agross@...nel.org>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Baolin Wang <baolin.wang7@...il.com>,
Bjorn Andersson <bjorn.andersson@...aro.org>,
Chunyan Zhang <zhang.lyra@...il.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Hyun Kwon <hyun.kwon@...inx.com>,
Jaroslav Kysela <perex@...ex.cz>,
Jon Hunter <jonathanh@...dia.com>,
Lars-Peter Clausen <lars@...afoo.de>,
Laurent Pinchart <laurent.pinchart@...asonboard.com>,
Laxman Dewangan <ldewangan@...dia.com>,
Manivannan Sadhasivam <mani@...nel.org>,
Mark Brown <broonie@...nel.org>,
Michal Simek <michal.simek@...inx.com>,
Nicolas Saenz Julienne <nsaenz@...nel.org>,
Orson Zhai <orsonzhai@...il.com>,
Robert Jarzmik <robert.jarzmik@...e.fr>,
Scott Branden <sbranden@...adcom.com>,
Takashi Iwai <tiwai@...e.com>,
Thierry Reding <thierry.reding@...il.com>,
alsa-devel@...a-project.org, bcm-kernel-feedback-list@...adcom.com,
dmaengine@...r.kernel.org, dri-devel@...ts.freedesktop.org,
linux-arm-kernel@...ts.infradead.org,
linux-arm-msm@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-mmc@...r.kernel.org, linux-mtd@...ts.infradead.org,
linux-rpi-kernel@...ts.infradead.org, linux-serial@...r.kernel.org,
linux-spi@...r.kernel.org, linux-staging@...ts.linux.dev,
linux-tegra@...r.kernel.org
Subject: [PATCH v2 06/11] dmaengine: pxa/mmp: stop referencing config->slave_id
From: Arnd Bergmann <arnd@...db.de>
The last driver referencing the slave_id on Marvell PXA and MMP platforms
was the SPI driver, but this stopped doing so a long time ago, so the
TODO from the earlier patch can no be removed.
Fixes: b729bf34535e ("spi/pxa2xx: Don't use slave_id of dma_slave_config")
Fixes: 13b3006b8ebd ("dma: mmp_pdma: add filter function")
Signed-off-by: Arnd Bergmann <arnd@...db.de>
---
drivers/dma/mmp_pdma.c | 6 ------
drivers/dma/pxa_dma.c | 7 -------
2 files changed, 13 deletions(-)
diff --git a/drivers/dma/mmp_pdma.c b/drivers/dma/mmp_pdma.c
index a23563cd118b..5a53d7fcef01 100644
--- a/drivers/dma/mmp_pdma.c
+++ b/drivers/dma/mmp_pdma.c
@@ -727,12 +727,6 @@ static int mmp_pdma_config_write(struct dma_chan *dchan,
chan->dir = direction;
chan->dev_addr = addr;
- /* FIXME: drivers should be ported over to use the filter
- * function. Once that's done, the following two lines can
- * be removed.
- */
- if (cfg->slave_id)
- chan->drcmr = cfg->slave_id;
return 0;
}
diff --git a/drivers/dma/pxa_dma.c b/drivers/dma/pxa_dma.c
index 52d04641e361..6078cc81892e 100644
--- a/drivers/dma/pxa_dma.c
+++ b/drivers/dma/pxa_dma.c
@@ -909,13 +909,6 @@ static void pxad_get_config(struct pxad_chan *chan,
*dcmd |= PXA_DCMD_BURST16;
else if (maxburst == 32)
*dcmd |= PXA_DCMD_BURST32;
-
- /* FIXME: drivers should be ported over to use the filter
- * function. Once that's done, the following two lines can
- * be removed.
- */
- if (chan->cfg.slave_id)
- chan->drcmr = chan->cfg.slave_id;
}
static struct dma_async_tx_descriptor *
--
2.29.2
Powered by blists - more mailing lists