diff options
author | 2023-11-28 12:31:38 +0530 | |
---|---|---|
committer | 2023-11-28 16:03:37 +0530 | |
commit | 19cc8b1819a40410c50a3efab6cf27b73298deb5 (patch) | |
tree | 02e22eb02583c78f4e964c9b819b037880709733 /tools/perf/scripts/python/gecko.py | |
parent | OPP: Don't set OPP recursively for a parent genpd (diff) | |
download | wireguard-linux-19cc8b1819a40410c50a3efab6cf27b73298deb5.tar.xz wireguard-linux-19cc8b1819a40410c50a3efab6cf27b73298deb5.zip |
OPP: Check for invalid OPP in dev_pm_opp_find_level_ceil()
_find_key_ceil() may return an error and that must be checked before
passing the same to dev_pm_opp_put().
Fixes: 41907aa4ae37 ("OPP: Level zero is valid")
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions