Skip to content

Commit ce56ffb

Browse files
committed
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()
2 parents 3de1320 + 54e9736 commit ce56ffb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/clk/spacemit/ccu_mix.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ static int ccu_mix_trigger_fc(struct clk_hw *hw)
7373
struct ccu_common *common = hw_to_ccu_common(hw);
7474
unsigned int val;
7575

76-
if (common->reg_fc)
76+
if (!common->reg_fc)
7777
return 0;
7878

7979
ccu_update(common, fc, common->mask_fc, common->mask_fc);

0 commit comments

Comments
 (0)