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

Cezary Rojewski cezary.rojewski at intel.com
Wed Aug 26 11:40:04 PDT 2026


On 8/21/2026 2:29 PM, phucduc.bui at gmail.com wrote:
> From: bui duc phuc <phucduc.bui at gmail.com>
> 
> 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 <phucduc.bui at gmail.com>
Very good finding!

Reviewed-by: Cezary Rojewski <cezary.rojewski at intel.com>



More information about the linux-arm-kernel mailing list