Skip to content

Commit

Permalink
blackfin: dma: current count mmr is read only
Browse files Browse the repository at this point in the history
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
  • Loading branch information
Sonic Zhang authored and Steven Miao committed Apr 12, 2014
1 parent 3356c99 commit 3def907
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/blackfin/include/asm/dma.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3def907

Please sign in to comment.