opp: Filter out OPPs based on availability of a required-OPP
authorDmitry Osipenko <digetx@gmail.com>
Mon, 18 Jan 2021 00:55:14 +0000 (03:55 +0300)
committerViresh Kumar <viresh.kumar@linaro.org>
Tue, 2 Feb 2021 04:56:54 +0000 (10:26 +0530)
commitcf65948d62c6aefd22f51c1433743f80517ee3fe
tree6075cbc4c9ca2846b229397224df222e7854b76b
parent32715be4fe95fc98762959f8dff6f9f8a39df28f
opp: Filter out OPPs based on availability of a required-OPP

A required OPP may not be available, and thus, all OPPs which are using
this required OPP should be unavailable too.

Tested-by: Peter Geis <pgwipeout@gmail.com>
Tested-by: Nicolas Chauvet <kwizart@gmail.com>
Tested-by: Matt Merhar <mattmerhar@protonmail.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/opp/core.c