diff options
| author | Rosen Penev <rosenp@gmail.com> | 2026-09-08 14:26:07 -0700 |
|---|---|---|
| committer | Vinod Koul <vkoul@kernel.org> | 2026-09-10 19:28:10 +0530 |
| commit | d882935a2ca4457f6f446b02d7d08134cd9d4582 (patch) | |
| tree | 2c5422cc0be2441b7361e6ec0fc1b180feb4b773 /tools/perf/scripts/python/stackcollapse.py | |
| parent | a72f75e1f5552df8765920b678a9037b7f31a91c (diff) | |
| download | linux-next-d882935a2ca4457f6f446b02d7d08134cd9d4582.tar.gz linux-next-d882935a2ca4457f6f446b02d7d08134cd9d4582.zip | |
dmaengine: at_hdmac: use devm_clk_get_enabled()
Replace the devm_clk_get() + clk_prepare_enable() pair with
devm_clk_get_enabled(), which handles enable/disable and the
unprepare on driver detach automatically. This lets us drop the
err_irq cleanup label and the clk_disable_unprepare() calls in
probe error paths and at_dma_remove().
Assisted-by: opencode:big-pickle
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20260908212607.590224-1-rosenp@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
