Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 332870
b: refs/heads/master
c: 8fccc5b
h: refs/heads/master
v: v3
  • Loading branch information
Andy Shevchenko authored and Vinod Koul committed Sep 14, 2012
1 parent 94fc5ba commit d010f32
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f1a7757008b810217b2380d01b740244f21c09bd
refs/heads/master: 8fccc5bfd7f83fd321db42bcad36e2d9fe13d65b
5 changes: 5 additions & 0 deletions trunk/drivers/dma/dw_dmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,11 @@ static void dwc_initialize(struct dw_dma_chan *dwc)

cfghi = dws->cfg_hi;
cfglo |= dws->cfg_lo & ~DWC_CFGL_CH_PRIOR_MASK;
} else {
if (dwc->dma_sconfig.direction == DMA_MEM_TO_DEV)
cfghi = DWC_CFGH_DST_PER(dwc->dma_sconfig.slave_id);
else if (dwc->dma_sconfig.direction == DMA_DEV_TO_MEM)
cfghi = DWC_CFGH_SRC_PER(dwc->dma_sconfig.slave_id);
}

channel_writel(dwc, CFG_LO, cfglo);
Expand Down

0 comments on commit d010f32

Please sign in to comment.