+5
−7
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
There is no point returning suspend_opp, if it is disabled by the core.
As we can't use it at all. Fix it.
Fixes: 4eafbd15b6c8 ("PM / OPP: add dev_pm_opp_get_suspend_opp() helper")
Signed-off-by:
Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by:
Rafael J. Wysocki <rafael.j.wysocki@intel.com>
(cherry picked from commit 1b2b90cbea00670221f062814dc8bcecb3af7b90)
Signed-off-by:
Alex Shi <alex.shi@linaro.org>