提交 712caed4 编写于 作者: U Ulf Hansson 提交者: Rafael J. Wysocki

PM / Domains: Validate cases of a non-bound driver in genpd governor

Recently genpd removed the requirement of a having a driver bound for its
attached devices to allow genpd to power off. That change should also have
removed a corresponding validation in the governor, let's correct that.

Fixes: 298cd0f0 (PM / Domains: Remove dev->driver check for runtime)
Signed-off-by: NUlf Hansson <ulf.hansson@linaro.org>
Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
上级 2547923d
...@@ -160,9 +160,6 @@ static bool default_power_down_ok(struct dev_pm_domain *pd) ...@@ -160,9 +160,6 @@ static bool default_power_down_ok(struct dev_pm_domain *pd)
struct gpd_timing_data *td; struct gpd_timing_data *td;
s64 constraint_ns; s64 constraint_ns;
if (!pdd->dev->driver)
continue;
/* /*
* Check if the device is allowed to be off long enough for the * Check if the device is allowed to be off long enough for the
* domain to turn off and on (that's how much time it will * domain to turn off and on (that's how much time it will
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册