summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorYuho Choi <dbgh9129@gmail.com>2026-08-02 18:22:59 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2026-08-10 18:34:21 +1000
commit188bb9ad86c3b2d527385328a30c1d9510253202 (patch)
tree2327dc57cd40ae8b89b40dd5fe72dabf21fe0406 /tools/perf/scripts/python/flamegraph.py
parent61135c1597af56eb454d53c9d7cda90d5e5dc566 (diff)
hwrng: imx-rngc - Disable clock on registration failure
The RNGC clock is enabled manually before runtime PM is configured. If devm_hwrng_register() fails, probe returns without disabling the clock. The devm_pm_runtime_enable() cleanup only disables runtime PM and does not call imx_rngc_suspend(). Disable the clock before returning from this failure path. Fixes: 7a96a64e8689 ("hwrng: imx-rngc - add runtime pm") Signed-off-by: Yuho Choi <dbgh9129@gmail.com> Reviewed-by: Martin Kaiser <martin@kaiser.cx> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions