Commit 2d30bb0b authored by Rafael J. Wysocki's avatar Rafael J. Wysocki

platform: Do not detach from PM domains on shutdown

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: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Reported-and-tested-by: default avatarFabio Estevam <fabio.estevam@nxp.com>
Acked-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent e3345db8
......@@ -552,7 +552,6 @@ static void platform_drv_shutdown(struct device *_dev)
if (drv->shutdown)
drv->shutdown(dev);
dev_pm_domain_detach(_dev, true);
}
/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment