power: reset: Remove flush_cache_all usage

Remove the flush_cache_all usage from power off driver.
For the crash reset flow, this api is not needed on
latest SoCs and secure world can flush cpu caches.

Change-Id: If50364810e63c72c09ada026f7f295112414c413
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
This commit is contained in:
Prasad Sodagudi 2020-07-10 14:12:26 -07:00
commit 7f96fbc3f4

View file

@ -471,8 +471,6 @@ static void msm_restart_prepare(const char *cmd)
(enum pon_restart_reason)reason);
}
flush_cache_all();
/*outer_flush_all is not supported by 64bit kernel*/
#ifndef CONFIG_ARM64
outer_flush_all();