From fe66f73cea8eecdd975b45f074f39bb7aa02f874 Mon Sep 17 00:00:00 2001 From: Bhalchandra Gajare Date: Fri, 9 Sep 2016 16:32:06 -0700 Subject: [PATCH] ASoC: wcd_cpe_core: add arch_setup_dma_ops call Change adds call to arch_setup_dma_ops to make sure the dma ops are initialized before dma allocations are done. CRs-fixed: 1065339 Change-Id: I5658598032f151c9293b3c4f6cf2311df8d3a634 Signed-off-by: Bhalchandra Gajare --- sound/soc/codecs/wcd_cpe_core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/codecs/wcd_cpe_core.c b/sound/soc/codecs/wcd_cpe_core.c index 0b4bd3c15127..e9f167fa643b 100644 --- a/sound/soc/codecs/wcd_cpe_core.c +++ b/sound/soc/codecs/wcd_cpe_core.c @@ -2051,6 +2051,7 @@ struct wcd_cpe_core *wcd_cpe_init(const char *img_fname, goto schedule_dload_work; } + arch_setup_dma_ops(core->dev, 0, 0, NULL, 0); core->cpe_dump_v_addr = dma_alloc_coherent(core->dev, core->hw_info.dram_size, &core->cpe_dump_addr,