projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f722406
)
ARM: tegra: emc: correction of ram-code parsing from dt
author
Dmitry Osipenko
<digetx@gmail.com>
Sun, 12 May 2013 10:26:49 +0000
(10:26 +0000)
committer
Stephen Warren
<swarren@nvidia.com>
Fri, 17 May 2013 23:01:24 +0000
(17:01 -0600)
Change tegra_emc_ramcode_devnode() to get ram-code from child node instead of
parent.
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/mach-tegra/tegra2_emc.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-tegra/tegra2_emc.c
b/arch/arm/mach-tegra/tegra2_emc.c
index 9e8bdfa2b36915e4db7a8352753626e7f41b682e..25f0189889b76afb061ce905bf28c8d9d8433c7f 100644
(file)
--- a/
arch/arm/mach-tegra/tegra2_emc.c
+++ b/
arch/arm/mach-tegra/tegra2_emc.c
@@
-183,7
+183,7
@@
static struct device_node *tegra_emc_ramcode_devnode(struct device_node *np)
u32 reg;
for_each_child_of_node(np, iter) {
- if (of_property_read_u32(
np
, "nvidia,ram-code", ®))
+ if (of_property_read_u32(
iter
, "nvidia,ram-code", ®))
continue;
if (reg == tegra_bct_strapping)
return of_node_get(iter);
This page took
0.025239 seconds
and
5
git commands to generate.