]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
OPP: Return error on error from dev_pm_opp_get_opp_count()
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 3 Oct 2018 09:52:03 +0000 (15:22 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Thu, 4 Oct 2018 03:40:56 +0000 (09:10 +0530)
commit09f662f95306f3e3d47ab6842bc4b0bb868a80ad
tree105022d7562edbd348cb9c16e4ada7bcf18dff0d
parent50b6b87c8484da8bb5dcce00f84ec80aee8fc2bd
OPP: Return error on error from dev_pm_opp_get_opp_count()

Return error number instead of 0 on failures.

Fixes: a1e8c13600bf ("PM / OPP: "opp-hz" is optional for power domains")
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/opp/core.c