fix cache function name

Change-Id: Ica743c1ea4e8e5fd4e4c70c00b0dc1fd019268a2
This commit is contained in:
Marcin Bukat 2012-03-16 21:57:56 +01:00
parent 0fdbbc3afd
commit 395290b7cd

View file

@ -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;