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 @@ -893,6 +893,10 @@ static int _set_required_opps(struct device *dev,
893
893
if (!required_opp_tables )
894
894
return 0 ;
895
895
896
+ /* required-opps not fully initialized yet */
897
+ if (lazy_linking_pending (opp_table ))
898
+ return - EBUSY ;
899
+
896
900
/*
897
901
* We only support genpd's OPPs in the "required-opps" for now, as we
898
902
* don't know much about other use cases. Error out if the required OPP
@@ -903,10 +907,6 @@ static int _set_required_opps(struct device *dev,
903
907
return - ENOENT ;
904
908
}
905
909
906
- /* required-opps not fully initialized yet */
907
- if (lazy_linking_pending (opp_table ))
908
- return - EBUSY ;
909
-
910
910
/* Single genpd case */
911
911
if (!genpd_virt_devs )
912
912
return _set_required_opp (dev , dev , opp , 0 );
You can’t perform that action at this time.
0 commit comments