projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c7a9b3
)
dma-mapping: fix debug print to display correct dma_pfn_offset
author
Murali Karicheri
<m-karicheri2@ti.com>
Mon, 22 Dec 2014 15:35:09 +0000
(10:35 -0500)
committer
Rob Herring
<robh@kernel.org>
Tue, 13 Jan 2015 19:48:45 +0000
(13:48 -0600)
fix the dev_dbg to display the offset which is the calculated
dma_pfn_offset value and set later in the code.
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/platform.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/of/platform.c
b/drivers/of/platform.c
index 5b33c6a2180752888a36e7a15f81b81f29c8477a..a54ec1087fd2273fb4d89054918dbee0bf0558d8 100644
(file)
--- a/
drivers/of/platform.c
+++ b/
drivers/of/platform.c
@@
-188,7
+188,7
@@
static void of_dma_configure(struct device *dev)
size = dev->coherent_dma_mask;
} else {
offset = PFN_DOWN(paddr - dma_addr);
- dev_dbg(dev, "dma_pfn_offset(%#08lx)\n",
dev->dma_pfn_
offset);
+ dev_dbg(dev, "dma_pfn_offset(%#08lx)\n", offset);
}
dev->dma_pfn_offset = offset;