Skip to contentSkip to conversation

dmaengine: bcm2835: Drop duplicate capability setting.

PATCH Applied Michal Suchanek 3 participants 3 messages Apr 4, 2019 – Apr 26, 2019

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dmaengine: bcm2835: Drop duplicate capability setting.

---
 drivers/dma/bcm2835-dma.c | 1 -
 1 file changed, 1 deletion(-)
drivers/dma/bcm2835-dma.c +0 -1
index ec8a291d62ba..e38b19dd2895 100644
@@ -891,7 +891,6 @@ static int bcm2835_dma_probe(struct platform_device *pdev)
 	dma_cap_set(DMA_SLAVE, od->ddev.cap_mask);
 	dma_cap_set(DMA_PRIVATE, od->ddev.cap_mask);
 	dma_cap_set(DMA_CYCLIC, od->ddev.cap_mask);
-	dma_cap_set(DMA_SLAVE, od->ddev.cap_mask);
 	dma_cap_set(DMA_MEMCPY, od->ddev.cap_mask);
 	od->ddev.device_alloc_chan_resources = bcm2835_dma_alloc_chan_resources;
 	od->ddev.device_free_chan_resources = bcm2835_dma_free_chan_resources;
Acked-by on v1 1/1
#1 lore raw

Am 04.04.19 um 19:25 schrieb Michal Suchanek:

Quoted 1 line

Except of the point there is no commit log:

Quoted 16 lines
---
 drivers/dma/bcm2835-dma.c | 1 -
 1 file changed, 1 deletion(-)
drivers/dma/bcm2835-dma.c +0 -1
index ec8a291d62ba..e38b19dd2895 100644
@@ -891,7 +891,6 @@ static int bcm2835_dma_probe(struct platform_device *pdev)
 	dma_cap_set(DMA_SLAVE, od->ddev.cap_mask);
 	dma_cap_set(DMA_PRIVATE, od->ddev.cap_mask);
 	dma_cap_set(DMA_CYCLIC, od->ddev.cap_mask);
-	dma_cap_set(DMA_SLAVE, od->ddev.cap_mask);
 	dma_cap_set(DMA_MEMCPY, od->ddev.cap_mask);
 	od->ddev.device_alloc_chan_resources = bcm2835_dma_alloc_chan_resources;
 	od->ddev.device_free_chan_resources = bcm2835_dma_free_chan_resources;
maintainer Applied
#2 lore raw
In reply to Michal Suchanek
Quoted 10 lines · Michal Suchanek
---
 drivers/dma/bcm2835-dma.c | 1 -
 1 file changed, 1 deletion(-)
drivers/dma/bcm2835-dma.c +0 -0
index ec8a291d62ba..e38b19dd2895 100644

drivers/dma/bcm2835-dma.c static int bcm2835_dma_probe(struct platform_device *pdev) · line 896

Quoted 7 lines
drivers/dma/bcm2835-dma.c +0 -1
@@ -891,7 +891,6 @@ static int bcm2835_dma_probe(struct platform_device *pdev)
 	dma_cap_set(DMA_SLAVE, od->ddev.cap_mask);
 	dma_cap_set(DMA_PRIVATE, od->ddev.cap_mask);
 	dma_cap_set(DMA_CYCLIC, od->ddev.cap_mask);
-	dma_cap_set(DMA_SLAVE, od->ddev.cap_mask);
 	dma_cap_set(DMA_MEMCPY, od->ddev.cap_mask);
 	od->ddev.device_alloc_chan_resources = bcm2835_dma_alloc_chan_resources;
 	od->ddev.device_free_chan_resources = bcm2835_dma_free_chan_resources;

Applied, thanks