Skip to content

Commit 61c4319

Browse files
andy-shevVinod Koul
authored andcommitted
avr32: at32ap700x: don't rely on default DMA masters
In future we are going to remove the defaults of AHB masters from dw_dmac driver. It means each user have to supply proper source and destination masters by itself explicitly. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Hans-Christian Egtvedt <egtvedt@samfundet.no> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
1 parent 3d598f4 commit 61c4319

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/avr32/mach-at32ap/at32ap700x.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1360,6 +1360,8 @@ at32_add_device_mci(unsigned int id, struct mci_platform_data *data)
13601360
| DWC_CFGH_DST_PER(1));
13611361
slave->sdata.cfg_lo &= ~(DWC_CFGL_HS_DST_POL
13621362
| DWC_CFGL_HS_SRC_POL);
1363+
slave->sdata.src_master = 1;
1364+
slave->sdata.dst_master = 0;
13631365

13641366
data->dma_slave = slave;
13651367

0 commit comments

Comments
 (0)