diff options
author | ying zuxin <11154159@vivo.com> | 2024-09-06 16:48:31 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-09-06 15:55:41 +0100 |
commit | 241c044e743f9c55886828763c99b51b0392c21d (patch) | |
tree | 5dc6c63d0d470ffebe8ee31d07fae35fd5cb8320 /tools/perf/scripts/python/task-analyzer.py | |
parent | 4849b2f78020cf0e3ba67777aadd07c620c91811 (diff) |
ASoC: codecs: Use devm_clk_get_enabled() helpers
The devm_clk_get_enabled() helpers:
- call devm_clk_get()
- call clk_prepare_enable() and register what is needed in order to
call clk_disable_unprepare() when needed, as a managed resource.
This simplifies the code and avoids the calls to clk_disable_unprepare().
Signed-off-by: ying zuxin <11154159@vivo.com>
Link: https://patch.msgid.link/20240906084841.19248-1-yingzuxin@vivo.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions