Patchwork [v3,1/7] dmaengine: dw: Add missed multi-block support for iDMA 32-bit

login
register
mail settings
Submitter Andy Shevchenko
Date Jan. 7, 2019, 11:07 a.m.
Message ID <20190107110741.15831-2-andriy.shevchenko@linux.intel.com>
Download mbox | patch
Permalink /patch/693737/
State New
Headers show

Comments

Andy Shevchenko - Jan. 7, 2019, 11:07 a.m.
Intel integrated DMA 32-bit support multi-block transfers.
Add missed setting to the platform data.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/dma/dw/pci.c | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/drivers/dma/dw/pci.c b/drivers/dma/dw/pci.c
index 7778ed705a1a..313ba10c6224 100644
--- a/drivers/dma/dw/pci.c
+++ b/drivers/dma/dw/pci.c
@@ -25,6 +25,7 @@  static struct dw_dma_platform_data mrfld_pdata = {
 	.block_size = 131071,
 	.nr_masters = 1,
 	.data_width = {4},
+	.multi_block = {1, 1, 1, 1, 1, 1, 1, 1},
 };
 
 static int dw_pci_probe(struct pci_dev *pdev, const struct pci_device_id *pid)