From 0a8235d0525b531ba932cdbb27c9092ec58a9323 Mon Sep 17 00:00:00 2001 From: Boris Gjenero Date: Sat, 4 Feb 2012 22:27:42 -0500 Subject: Use commit_dcache() instead of commit_discard_idcache() where possible - PCM playback DMA doesn't need the discard. Only recording DMA would need it. - When creating threads for another core, the core creating the thread only needs to commit. The discard on the other core is handled elsewhere. Change-Id: I864a0777e22f221a66218efd2c02ff3ad3889736 --- firmware/thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/thread.c') diff --git a/firmware/thread.c b/firmware/thread.c index 4c15fcc294..ce9252ccc6 100644 --- a/firmware/thread.c +++ b/firmware/thread.c @@ -1609,7 +1609,7 @@ unsigned int create_thread(void (*function)(void), /* Writeback stack munging or anything else before starting */ if (core != CURRENT_CORE) { - commit_discard_idcache(); + commit_dcache(); } #endif -- cgit v1.2.3