abox: Fix memory abort issue
authorDiep Quynh <remilia.1505@gmail.com>
Wed, 3 Jul 2019 13:08:09 +0000 (20:08 +0700)
committerivanmeler <i_ivan@windowslive.com>
Fri, 6 May 2022 16:26:17 +0000 (16:26 +0000)
Taken from universal9810's abox

Signed-off-by: Diep Quynh <remilia.1505@gmail.com>
sound/soc/samsung/abox/abox.c

index a5a8ec83e50f3f29f41efd05d413a86c934c9d31..0adb48061d8454ff6d8d22522797bd72e4b25ac9 100644 (file)
@@ -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);