Home Home > GIT Browse > openSUSE-15.0
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-07-19 14:33:00 +0200
committerTakashi Iwai <tiwai@suse.de>2019-07-19 14:33:06 +0200
commitcb305c4e74983f647a25d04168006e375909997c (patch)
treee1765c5981a56a86c0ef1309b93938af1479f6dd
parentb0200fd9fc82d27ecf6df1a9fc0d805125ecaf02 (diff)
dmaengine: hsu: Revert "set HSU_CH_MTSR to memory width"
(bsc#1051510). suse-commit: 77838b241a649d7901a246e0d9d31ffdab6be83c
-rw-r--r--drivers/dma/hsu/hsu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dma/hsu/hsu.c b/drivers/dma/hsu/hsu.c
index 202ffa9f7611..18f155a974db 100644
--- a/drivers/dma/hsu/hsu.c
+++ b/drivers/dma/hsu/hsu.c
@@ -64,10 +64,10 @@ static void hsu_dma_chan_start(struct hsu_dma_chan *hsuc)
if (hsuc->direction == DMA_MEM_TO_DEV) {
bsr = config->dst_maxburst;
- mtsr = config->src_addr_width;
+ mtsr = config->dst_addr_width;
} else if (hsuc->direction == DMA_DEV_TO_MEM) {
bsr = config->src_maxburst;
- mtsr = config->dst_addr_width;
+ mtsr = config->src_addr_width;
}
hsu_chan_disable(hsuc);