fix cache function name
Change-Id: Ica743c1ea4e8e5fd4e4c70c00b0dc1fd019268a2
This commit is contained in:
parent
0fdbbc3afd
commit
395290b7cd
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ void dma_enable_channel(int channel, struct dma_request *request)
|
|||
dma_state [channel].callback = request->callback;
|
||||
|
||||
/* Activate the channel */
|
||||
invalidate_dcache_range((void *)request->dest_addr, request->count * 4);
|
||||
commit_discard_dcache_range((void *)request->dest_addr, request->count * 4);
|
||||
|
||||
dma_state [channel].status |= STATUS_CHANNEL_ACTIVE;
|
||||
regs->dmasktrig = DMASKTRIG_ON;
|
||||
|
|
Loading…
Reference in a new issue