diff options
| author | bui duc phuc <phucduc.bui@gmail.com> | 2026-09-03 12:11:45 +0700 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-09-08 15:12:25 +0100 |
| commit | eb72060a1966baf9a6ed753186621ee6e39dc889 (patch) | |
| tree | 5a27d83dd10cd02a2e7b05232845c5cb828b1edc /tools/perf/scripts/python/task-analyzer.py | |
| parent | d70109f5510b423e72894dadfbab27087a7b26b0 (diff) | |
ASoC: mediatek: mt8186: Fix AFE clock error handling
The error paths in mt8186_afe_enable_clock() do not consistently
undo the clock operations performed before an error.
Fix the goto targets and cleanup order so that the audio internal
bus parent is restored to CLK26M and all previously enabled clocks
are disabled before returning the error.
Fixes: 55b423d5623c ("ASoC: mediatek: mt8186: support audio clock control in platform driver")
Signed-off-by: bui duc phuc <phucduc.bui@gmail.com>
Link: https://patch.msgid.link/20260903051150.178057-4-phucduc.bui@gmail.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
