memory: tegra: populate dt subnodes
Tegra210b01 uses tegra186-emc driver as emc clock is controlled by BPMP. However, this driver expects emc as subnode of mc. Adjust Tegra30 mc probe routine to populate subnodes.
This commit is contained in:
@@ -526,6 +526,10 @@ int tegra30_mc_probe(struct tegra_mc *mc)
|
|||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
err = of_platform_populate(mc->dev->of_node, NULL, NULL, mc->dev);
|
||||||
|
if (err < 0)
|
||||||
|
return err;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user