From b816e5f5e7a5e34522f667f934c7741b2531b075 Mon Sep 17 00:00:00 2001 From: Diep Quynh Date: Wed, 3 Jul 2019 20:08:09 +0700 Subject: [PATCH] abox: Fix memory abort issue Taken from universal9810's abox Signed-off-by: Diep Quynh --- sound/soc/samsung/abox/abox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/samsung/abox/abox.c b/sound/soc/samsung/abox/abox.c index a5a8ec83e50f..0adb48061d84 100644 --- a/sound/soc/samsung/abox/abox.c +++ b/sound/soc/samsung/abox/abox.c @@ -296,7 +296,7 @@ static int abox_start_ipc_transaction_atomic(struct device *dev, break; } - memcpy(tx_sram_base, supplement, size); + memcpy_toio(tx_sram_base, supplement, size); writel(1, tx_ack_sram_base); abox_gic_generate_interrupt(data->pdev_gic, hw_irq); -- 2.20.1