diff options
| author | Aravind Anilraj <aravindanilraj0702@gmail.com> | 2026-04-01 18:05:06 -0400 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-04-03 15:15:01 +0100 |
| commit | dced5a373a96cfd9f3bd0ffcf5339a7579d1473a (patch) | |
| tree | f50a4f8f413d975e56d4d600fe1b2c742ccd6e55 /tools/lib/python | |
| parent | b022e5c142efe4c5497e6cfda1f143618b4b9254 (diff) | |
| download | linux-dced5a373a96cfd9f3bd0ffcf5339a7579d1473a.tar.gz linux-dced5a373a96cfd9f3bd0ffcf5339a7579d1473a.zip | |
ASoC: Intel: cht_bsw_rt5672: Fix MCLK leak on platform_clock_control error
If snd_soc_dai_set_pll() or snd_soc_dai_set_sysclk() fail inside the
EVENT_ON path, the function returns without calling
clk_disable_unprepare() on ctx->mclk, which was already enabled earlier
in the same code path. Add the missing clk_disable_unprepare() calls
before returning the error.
Signed-off-by: Aravind Anilraj <aravindanilraj0702@gmail.com>
Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://patch.msgid.link/20260401220507.23557-4-aravindanilraj0702@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
