After this patch, disp-pm-domain is powered down at boot. Powering down
this domain, and powering up later is OK. But the kernel hangs up when
repareting the clocks just after powering up the domain.
Signed-off-by: Hyungwon Hwang <human.hwang@samsung.com>
genpd_queue_power_off_work(pd);
}
-static void genpd_dev_pm_sync(struct device *dev)
-{
- struct generic_pm_domain *pd;
-
- pd = dev_to_genpd(dev);
- if (IS_ERR(pd))
- return;
-
- genpd_queue_power_off_work(pd);
-}
-
/**
* genpd_dev_pm_attach - Attach a device to its PM domain using DT.
* @dev: Device to attach.
}
dev->pm_domain->detach = genpd_dev_pm_detach;
- dev->pm_domain->sync = genpd_dev_pm_sync;
pm_genpd_poweron(pd);
return 0;