kernel/arch/arm/mach-bcm/platsmp-brcmstb.c
.. .. @@ -334,11 +334,14 @@ 334 334 335 335 rc = setup_hifcpubiuctrl_regs(np); 336 336 if (rc) 337 - return;337 + goto out_put_node;338 338 339 339 rc = setup_hifcont_regs(np); 340 340 if (rc) 341 - return;341 + goto out_put_node;342 +343 +out_put_node:344 + of_node_put(np);342 345 } 343 346 344 347 static int brcmstb_boot_secondary(unsigned int cpu, struct task_struct *idle)