All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] PM / Domains: Validate cases of a non-bound driver in genpd governor
@ 2015-12-02 13:08 Ulf Hansson
  2015-12-02 23:28 ` Rafael J. Wysocki
  2015-12-04  0:05 ` Kevin Hilman
  0 siblings, 2 replies; 4+ messages in thread
From: Ulf Hansson @ 2015-12-02 13:08 UTC (permalink / raw)
  To: Rafael J. Wysocki, Kevin Hilman, Ulf Hansson, linux-pm
  Cc: Len Brown, Pavel Machek, Geert Uytterhoeven, Lina Iyer

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>
---
 drivers/base/power/domain_governor.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/base/power/domain_governor.c b/drivers/base/power/domain_governor.c
index e60dd12..1e937ac 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
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-12-04  0:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-02 13:08 [PATCH] PM / Domains: Validate cases of a non-bound driver in genpd governor Ulf Hansson
2015-12-02 23:28 ` Rafael J. Wysocki
2015-12-04  0:05 ` Kevin Hilman
2015-12-04  0:28   ` Rafael J. Wysocki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.