commit | fb659882cc6482bd2e32ec0ab8ab7afeda649413 | [log] [tgz] |
---|---|---|
author | Will Deacon <will.deacon@arm.com> | Mon Oct 12 14:48:39 2015 +0100 |
committer | Arnd Bergmann <arnd@arndb.de> | Thu Oct 15 17:11:23 2015 +0200 |
tree | 2ae37a845f1964b8b89fdf8e5dfd90233cd8a142 | |
parent | a0bcbe969f564d1ec08658170dda72a1b7e9053a [diff] |
drivers/perf: arm_pmu: avoid CPU device_node reference leak of_cpu_device_node_get increments the reference count on the CPU device_node, so we must take care to of_node_put once we've finished with it. This patch fixes the perf IRQ probing code to avoid the leak. Cc: Sudeep Holla <sudeep.holla@arm.com> Cc: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>