mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-20 03:24:03 +08:00
blackfin: dma: current count mmr is read only
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
This commit is contained in:
parent
3356c99ea3
commit
3def9074f9
@ -316,8 +316,6 @@ static inline void disable_dma(unsigned int channel)
|
|||||||
}
|
}
|
||||||
static inline void enable_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;
|
dma_ch[channel].regs->cfg |= DMAEN;
|
||||||
}
|
}
|
||||||
int set_dma_callback(unsigned int channel, irq_handler_t callback, void *data);
|
int set_dma_callback(unsigned int channel, irq_handler_t callback, void *data);
|
||||||
|
Loading…
Reference in New Issue
Block a user