|
@@ -265,6 +265,7 @@ static int of_dra7_atl_clk_probe(struct platform_device *pdev)
|
|
|
|
|
|
/* Get configuration for the ATL instances */
|
|
|
snprintf(prop, sizeof(prop), "atl%u", i);
|
|
|
+ of_node_get(node);
|
|
|
cfg_node = of_find_node_by_name(node, prop);
|
|
|
if (cfg_node) {
|
|
|
ret = of_property_read_u32(cfg_node, "bws",
|
|
@@ -278,6 +279,7 @@ static int of_dra7_atl_clk_probe(struct platform_device *pdev)
|
|
|
atl_write(cinfo, DRA7_ATL_AWSMUX_REG(i),
|
|
|
cdesc->aws);
|
|
|
}
|
|
|
+ of_node_put(cfg_node);
|
|
|
}
|
|
|
|
|
|
cdesc->probed = true;
|