aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/dw/core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dma/dw/core.c')
-rw-r--r--drivers/dma/dw/core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dma/dw/core.c b/drivers/dma/dw/core.c
index 1af731b83b3f..0a9c052d437c 100644
--- a/drivers/dma/dw/core.c
+++ b/drivers/dma/dw/core.c
@@ -155,8 +155,8 @@ static void dwc_initialize(struct dw_dma_chan *dwc)
155 */ 155 */
156 BUG_ON(!dws->dma_dev || dws->dma_dev != dw->dma.dev); 156 BUG_ON(!dws->dma_dev || dws->dma_dev != dw->dma.dev);
157 157
158 cfghi = dws->cfg_hi; 158 cfghi |= DWC_CFGH_DST_PER(dws->dst_id);
159 cfglo |= dws->cfg_lo & ~DWC_CFGL_CH_PRIOR_MASK; 159 cfghi |= DWC_CFGH_SRC_PER(dws->src_id);
160 } else { 160 } else {
161 if (dwc->direction == DMA_MEM_TO_DEV) 161 if (dwc->direction == DMA_MEM_TO_DEV)
162 cfghi = DWC_CFGH_DST_PER(dwc->request_line); 162 cfghi = DWC_CFGH_DST_PER(dwc->request_line);