diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2015-09-09 14:28:22 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-09-09 23:53:37 +0300 |
commit | 1b2b90cbea00670221f062814dc8bcecb3af7b90 (patch) | |
tree | 37edfaad03b3d748e0d951b697e519a91e5328c9 /include/linux/clk/tegra.h | |
parent | 4eafbd15b6c84cd3f6c76022c8a6c27f7cc076e1 (diff) | |
download | linux-1b2b90cbea00670221f062814dc8bcecb3af7b90.tar.xz |
PM / OPP: Return suspend_opp only if it is enabled
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>
Diffstat (limited to 'include/linux/clk/tegra.h')
0 files changed, 0 insertions, 0 deletions