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:
3356c99
)
blackfin: dma: current count mmr is read only
author
Sonic Zhang
<sonic.zhang@analog.com>
Wed, 2 Apr 2014 08:57:23 +0000
(16:57 +0800)
committer
Steven Miao
<realmz6@gmail.com>
Sat, 12 Apr 2014 00:47:54 +0000
(08:47 +0800)
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
arch/blackfin/include/asm/dma.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/blackfin/include/asm/dma.h
b/arch/blackfin/include/asm/dma.h
index 40e9c2bbc6e37f26ef8030316556a16c05c0d776..8d1e4c2d2c36d4f2944c8e7ea4d40050da4b530a 100644
(file)
--- a/
arch/blackfin/include/asm/dma.h
+++ b/
arch/blackfin/include/asm/dma.h
@@
-316,8
+316,6
@@
static inline void disable_dma(unsigned int channel)
}
static inline void enable_dma(unsigned int channel)
{
- dma_ch[channel].regs->curr_x_count = 0;
- dma_ch[channel].regs->curr_y_count = 0;
dma_ch[channel].regs->cfg |= DMAEN;
}
int set_dma_callback(unsigned int channel, irq_handler_t callback, void *data);