summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBhalchandra Gajare <gajare@codeaurora.org>2016-09-09 16:32:06 -0700
committerBhalchandra Gajare <gajare@codeaurora.org>2016-09-09 16:52:02 -0700
commitfe66f73cea8eecdd975b45f074f39bb7aa02f874 (patch)
treef45c64afdfadb81c70fc03932eff8726fc45c82e
parentc6855ffd7f2bab457b4be5c383110868e662cedf (diff)
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 <gajare@codeaurora.org>
-rw-r--r--sound/soc/codecs/wcd_cpe_core.c1
1 files changed, 1 insertions, 0 deletions
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,