opp: Allow disabled OPPs in dev_pm_opp_get_freq()
authorAndrew-sh.Cheng <andrew-sh.cheng@mediatek.com>
Mon, 20 Jul 2020 08:55:26 +0000 (16:55 +0800)
committerViresh Kumar <viresh.kumar@linaro.org>
Fri, 24 Jul 2020 02:35:54 +0000 (08:05 +0530)
commit06a8a059e88bd73ee81a4ad19e97c04766f84def
tree73da58311031f231443cb3ca579a4866735a588d
parent0e510bf1b881e872a59033634e6226cd4c501e77
opp: Allow disabled OPPs in dev_pm_opp_get_freq()

Allow dev_pm_opp_get_freq() to work for disabled OPPs.

Signed-off-by: Andrew-sh.Cheng <andrew-sh.cheng@mediatek.com>
[ Viresh: Massaged commit log ]
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/opp/core.c