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

Commit 47ae8a9d authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "soc: qcom: pil-femto-modem: Flush cache before unmap"

parents 8a68fd00 9dc7fc79
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -25,6 +25,7 @@
#include <linux/sysfs.h>

#include <asm/page.h>
#include <asm/cacheflush.h>

#include "peripheral-loader.h"
#include "pil-q6v5.h"
@@ -132,7 +133,9 @@ static void *pil_femto_modem_map_fw_mem(phys_addr_t paddr, size_t size, void *d)

static void pil_femto_modem_unmap_fw_mem(void *vaddr, size_t size, void *data)
{
	flush_cache_vmap((unsigned long) vaddr, (unsigned long) vaddr + size);
	iounmap(vaddr);
	isb();
}

static int pil_femto_modem_send_rmb_advance(void __iomem *rmb_base, u32 id)