File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -676,10 +676,6 @@ static int mt6358_regulator_probe(struct platform_device *pdev)
676
676
const struct mt6358_regulator_info * mt6358_info ;
677
677
int i , max_regulator , ret ;
678
678
679
- ret = mt6358_sync_vcn33_setting (& pdev -> dev );
680
- if (ret )
681
- return ret ;
682
-
683
679
if (mt6397 -> chip_id == MT6366_CHIP_ID ) {
684
680
max_regulator = MT6366_MAX_REGULATOR ;
685
681
mt6358_info = mt6366_regulators ;
@@ -688,6 +684,10 @@ static int mt6358_regulator_probe(struct platform_device *pdev)
688
684
mt6358_info = mt6358_regulators ;
689
685
}
690
686
687
+ ret = mt6358_sync_vcn33_setting (& pdev -> dev );
688
+ if (ret )
689
+ return ret ;
690
+
691
691
for (i = 0 ; i < max_regulator ; i ++ ) {
692
692
config .dev = & pdev -> dev ;
693
693
config .regmap = mt6397 -> regmap ;
You can’t perform that action at this time.
0 commit comments