Skip to content

Commit

Permalink
Merge tag 'opp-fixes-6.0' of git://git.kernel.org/pub/scm/linux/kerne…
Browse files Browse the repository at this point in the history
…l/git/vireshk/pm

Pull OPP fixes for 6.0 from Viresh Kumar:

"- Fix un-initialized variable usage (Christophe JAILLET).

 - Add missing DT properties (Rob Herring)."

* tag 'opp-fixes-6.0' of git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm:
  dt-bindings: opp: Add missing (unevaluated|additional)Properties on child nodes
  OPP: Fix an un-initialized variable usage
  • Loading branch information
Rafael J. Wysocki committed Sep 21, 2022
2 parents 521a547 + c7e31e3 commit 9614369
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Documentation/devicetree/bindings/opp/opp-v2-kryo-cpu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ properties:
patternProperties:
'^opp-?[0-9]+$':
type: object
additionalProperties: false

properties:
opp-hz: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ properties:
patternProperties:
'^opp-?[0-9]+$':
type: object
additionalProperties: false

properties:
opp-level: true
Expand Down
2 changes: 1 addition & 1 deletion drivers/opp/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -873,7 +873,7 @@ int dev_pm_opp_config_clks_simple(struct device *dev,
}
}

return ret;
return 0;
}
EXPORT_SYMBOL_GPL(dev_pm_opp_config_clks_simple);

Expand Down

0 comments on commit 9614369

Please sign in to comment.