OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1395a4
)
soc: qcom: subsys-pil-tz: initialize DMA ops
author
David Keitel
<dkeitel@codeaurora.org>
Thu, 4 Feb 2016 18:03:38 +0000
(10:03 -0800)
committer
David Keitel
<dkeitel@codeaurora.org>
Tue, 22 Mar 2016 18:07:42 +0000
(11:07 -0700)
Initialize the DMA operations for the MDT data
DMA allocation.
Change-Id: If8eae5e91b4145be8d9e5eeeb28c14cda88e617f
Signed-off-by: David Keitel <dkeitel@codeaurora.org>
drivers/soc/qcom/subsys-pil-tz.c
patch
|
blob
|
history
diff --git
a/drivers/soc/qcom/subsys-pil-tz.c
b/drivers/soc/qcom/subsys-pil-tz.c
index
4437126
..
5751b82
100644
(file)
--- a/
drivers/soc/qcom/subsys-pil-tz.c
+++ b/
drivers/soc/qcom/subsys-pil-tz.c
@@
-587,6
+587,8
@@
static int pil_init_image_trusted(struct pil_desc *pil,
ret = scm_pas_enable_bw();
if (ret)
return ret;
+ arch_setup_dma_ops(&dev, 0, 0, NULL, 0);
+
dev.coherent_dma_mask =
DMA_BIT_MASK(sizeof(dma_addr_t) * 8);
dma_set_attr(DMA_ATTR_STRONGLY_ORDERED, &attrs);