Merge tag 'spacemit-clk-fixes-for-7.0-1' of ssh://github.com/spacemit-com/linux into clk-fixes

Pull a SpacemiT clk fix from Yixun Lan:

 - Fix inverted condition check

* tag 'spacemit-clk-fixes-for-7.0-1' of ssh://github.com/spacemit-com/linux:
  clk: spacemit: ccu_mix: fix inverted condition in ccu_mix_trigger_fc()
This commit is contained in:
Stephen Boyd 2026-04-11 16:19:57 -07:00
commit ce56ffbea7
No known key found for this signature in database
GPG Key ID: AD028897C6E49525

View File

@ -73,7 +73,7 @@ static int ccu_mix_trigger_fc(struct clk_hw *hw)
struct ccu_common *common = hw_to_ccu_common(hw);
unsigned int val;
if (common->reg_fc)
if (!common->reg_fc)
return 0;
ccu_update(common, fc, common->mask_fc, common->mask_fc);