summaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2015-12-02 14:08:27 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-12-02 15:21:21 +0100
commit712caed435077966143a1ed2e6ae345916068d2e (patch)
tree0c749ace7bc4e5a3482a02cbffed88a803569fc0 /drivers/base
parent2547923d1cc38b4b55c538e450411586acc39ac6 (diff)
downloadlinux-stable-712caed435077966143a1ed2e6ae345916068d2e.tar.gz
linux-stable-712caed435077966143a1ed2e6ae345916068d2e.tar.bz2
linux-stable-712caed435077966143a1ed2e6ae345916068d2e.zip
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: 298cd0f08801 (PM / Domains: Remove dev->driver check for runtime) Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/base')
-rw-r--r--drivers/base/power/domain_governor.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/base/power/domain_governor.c b/drivers/base/power/domain_governor.c
index e60dd12e23aa..1e937ac5f456 100644
--- a/drivers/base/power/domain_governor.c
+++ b/drivers/base/power/domain_governor.c
@@ -160,9 +160,6 @@ static bool default_power_down_ok(struct dev_pm_domain *pd)
struct gpd_timing_data *td;
s64 constraint_ns;
- if (!pdd->dev->driver)
- continue;
-
/*
* 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