projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fb3e75
)
IMX/DMA : set the DMA direction in the sdma_control()
author
Huang Shijie
<b32955@freescale.com>
Fri, 18 Nov 2011 08:38:02 +0000
(16:38 +0800)
committer
Vinod Koul
<vinod.koul@linux.intel.com>
Tue, 22 Nov 2011 04:21:45 +0000
(09:51 +0530)
Set the right DMA direction in the sdma_control(), else
we will get the wrong log when enable the DYNAMIC_DEBUG.
Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
drivers/dma/imx-sdma.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/dma/imx-sdma.c
b/drivers/dma/imx-sdma.c
index 2e0357178d19112bf4002a0bfd41f7b737b07752..d9e5933d91eb01bd753f95012310216833a2ef2b 100644
(file)
--- a/
drivers/dma/imx-sdma.c
+++ b/
drivers/dma/imx-sdma.c
@@
-1102,6
+1102,7
@@
static int sdma_control(struct dma_chan *chan, enum dma_ctrl_cmd cmd,
sdmac->watermark_level = dmaengine_cfg->dst_maxburst;
sdmac->word_size = dmaengine_cfg->dst_addr_width;
}
+ sdmac->direction = dmaengine_cfg->direction;
return sdma_config_channel(sdmac);
default:
return -ENOSYS;