提交 3def9074 编写于 作者: S Sonic Zhang 提交者: Steven Miao

blackfin: dma: current count mmr is read only

Signed-off-by: NSonic Zhang <sonic.zhang@analog.com>
上级 3356c99e
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册