projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3345db
)
platform: Do not detach from PM domains on shutdown
author
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Mon, 11 Jan 2016 23:12:19 +0000
(
00:12
+0100)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Mon, 11 Jan 2016 23:12:19 +0000
(
00:12
+0100)
Shutdown is carried out when the driver is still bound to the
device, so it is incorrect to detach it from a PM domain (if any)
at this point.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reported-and-tested-by: Fabio Estevam <fabio.estevam@nxp.com>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/base/platform.c
patch
|
blob
|
history
diff --git
a/drivers/base/platform.c
b/drivers/base/platform.c
index 1dd6d3bf109834b453002a251b584c2880bb1c06..484255c7bc476aee44232a9b2e0bf0db2b1aaa64 100644
(file)
--- a/
drivers/base/platform.c
+++ b/
drivers/base/platform.c
@@
-552,7
+552,6
@@
static void platform_drv_shutdown(struct device *_dev)
if (drv->shutdown)
drv->shutdown(dev);
- dev_pm_domain_detach(_dev, true);
}
/**