Re: [PATCH v2 1/4] ASoC: mediatek: mt8183: Fix wrong clock cleanup on clk_set_parent() failure

Cezary Rojewski <[email protected]>
Newsgroups gmane.linux.sound,gmane.linux.ports.arm.kernel,gmane.linux.ports.arm.mediatek,gmane.linux.kernel
Message-ID <[email protected]>
On 8/21/2026 2:29 PM, [email protected] wrote:
> From: bui duc phuc <[email protected]>
> 
> In mt8183_afe_enable_clock(), when clk_set_parent() fails, the current
> error path incorrectly cleans up the previously enabled clock instead of
> the clock used by clk_set_parent().
> 
> Fix the error path to clean up the correct clock when clk_set_parent()
> fails.
> 
> Fixes: a94aec035a12 ("ASoC: mediatek: mt8183: add platform driver")
> Signed-off-by: bui duc phuc <[email protected]>
Very good finding!

Reviewed-by: Cezary Rojewski <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.