Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1528598
| From | Marc Gonzalez <marc_gonzalez@sigmadesigns.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 3/6] Fixup for tango4 support |
| Date | 2016-11-23 18:00 +0100 |
| Message-ID | <sGJ3P-7mu-5@gated-at.bofh.it> (permalink) |
| References | <sGJ3P-7mu-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
---
drivers/dma/tango-dma.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/dma/tango-dma.c b/drivers/dma/tango-dma.c
index 494b046d1d3d..6a32d234ffb0 100644
--- a/drivers/dma/tango-dma.c
+++ b/drivers/dma/tango-dma.c
@@ -156,7 +156,7 @@ static int tangox_dma_issue_single(struct tangox_dma_pchan *pchan,
writel(sg->addr, pchan->base + DMA_ADDR);
writel(sg->len, pchan->base + DMA_COUNT);
wmb();
- writel(flags << 2 | DMA_MODE_SINGLE, pchan->base + DMA_CMD);
+ writel(DMA_MODE_SINGLE << 1 | flags, pchan->base + DMA_CMD);
wmb();
return sg->len;
@@ -569,7 +569,7 @@ static int tangox_dma_remove(struct platform_device *pdev)
}
static struct of_device_id tangox_dma_dt_ids[] = {
- { .compatible = "sigma,smp8640-dma" },
+ { .compatible = "sigma,smp8758-dma" },
{ }
};
--
2.9.0
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Driver for tango DMA engine Marc Gonzalez <marc_gonzalez@sigmadesigns.com> - 2016-11-23 18:00 +0100 [PATCH 6/6] Relax write accesses Marc Gonzalez <marc_gonzalez@sigmadesigns.com> - 2016-11-23 18:00 +0100 [PATCH 3/6] Fixup for tango4 support Marc Gonzalez <marc_gonzalez@sigmadesigns.com> - 2016-11-23 18:00 +0100 [PATCH 1/6] dmaengine: Import tango MBUS driver Marc Gonzalez <marc_gonzalez@sigmadesigns.com> - 2016-11-23 18:00 +0100 [PATCH 5/6] Fixup tangox_dma_reset Marc Gonzalez <marc_gonzalez@sigmadesigns.com> - 2016-11-23 18:00 +0100 [PATCH 2/6] Provide names for SBOX register offsets Marc Gonzalez <marc_gonzalez@sigmadesigns.com> - 2016-11-23 18:00 +0100 [PATCH 4/6] Fixup tangox_dma_sbox_map Marc Gonzalez <marc_gonzalez@sigmadesigns.com> - 2016-11-23 18:10 +0100 Re: Driver for tango DMA engine Måns Rullgård <mans@mansr.com> - 2016-11-23 18:30 +0100
csiph-web