summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorYuho Choi <dbgh9129@gmail.com>2026-07-02 19:39:21 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2026-07-13 13:32:50 +1000
commit1c17b601fafb09c9ec074fd097737d20eafe7d63 (patch)
tree64b8d65b8d1ada7be85074526f58897b5934a6dc /tools/perf/scripts/python/bin/stackcollapse-report
parent3b67be254bd3d5dbd4360bdabc900fdcbf642d08 (diff)
hwrng: ks-sa - Fix runtime PM cleanup on registration failure
ks_sa_rng_probe() enables runtime PM and resumes the device before registering the hwrng. If devm_hwrng_register() fails, probe returns without dropping the runtime PM usage count or disabling runtime PM. Unwind the runtime PM state on the registration failure path, matching the cleanup done by remove(). Fixes: eb428ee0e3ca ("hwrng: ks-sa - add hw_random driver") Signed-off-by: Yuho Choi <dbgh9129@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions