Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3def9074 authored by Sonic Zhang's avatar Sonic Zhang Committed by Steven Miao
Browse files

blackfin: dma: current count mmr is read only

parent 3356c99e
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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);