aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorYuho Choi <dbgh9129@gmail.com>2026-05-29 00:20:51 -0400
committerClaudiu Beznea <claudiu.beznea@tuxon.dev>2026-05-31 17:17:55 +0300
commit22fa1c39ba6fe726b547c877c924379b7fee260a (patch)
tree3c819faf250c1f7cb5dd69e2ad3c6f7d9b8fcfb2 /tools/perf/scripts/python/stackcollapse.py
parentc8a3be5bc2b2f2d53c56a8b9cab731e917b95c07 (diff)
clk: at91: keep securam node alive while mapping it
pmc_register_ops() gets an owned reference to the "atmel,sama5d2-securam" node with of_find_compatible_node(). The success path dropped that reference before passing the node to of_iomap(), leaving of_iomap() to consume a node pointer after the caller had released its reference. Move of_node_put() after of_iomap() so the node remains referenced for the mapping operation. The unavailable-node error path already releases the reference. Fixes: 4d21be864092 ("clk: at91: pmc: execute suspend/resume only for backup mode") Signed-off-by: Yuho Choi <dbgh9129@gmail.com> Reviewed-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Link: https://patch.msgid.link/20260529042051.1626978-1-dbgh9129@gmail.com Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions