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

Commit 2a8a64eb authored by Laura Abbott's avatar Laura Abbott
Browse files

msm: cachedump: Move to standard caching APIs



There's no longer any need to have cache API wrappers.
Call the appropriate cache API directly.

Change-Id: Id0f259d9ddc4e4b04ecd248315507d6c89d3fd44
Signed-off-by: default avatarLaura Abbott <lauraa@codeaurora.org>
parent 219364c5
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@
#include <linux/of_device.h>
#include <linux/dma-mapping.h>
#include <soc/qcom/scm.h>
#include <asm/cacheflush.h>
#include <mach/msm_cache_dump.h>
#include <mach/msm_iomap.h>
#include <soc/qcom/memory_dump.h>
@@ -100,8 +101,8 @@ static int msm_cache_dump_probe(struct platform_device *pdev)

	memset(msm_cache_dump_vaddr, 0xFF, total_size);
	/* Clean caches before sending buffer to TZ */
	clean_caches((unsigned long) msm_cache_dump_vaddr, total_size,
			msm_cache_dump_addr);
	dmac_clean_range(msm_cache_dump_vaddr,
				msm_cache_dump_vaddr + total_size);

	l1_cache_data.buf = msm_cache_dump_addr;
	l1_cache_data.size = l1_size;