]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: EXYNOS: register devices in 'need_restore' state for pm_domains
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 12 Jul 2012 08:29:55 +0000 (17:29 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 12 Jul 2012 08:29:55 +0000 (17:29 +0900)
commitab936cff57348e5fd280caafb8ad0b9b6804a8be
tree9c252513c49338d00d9148efb4366e92ee425578
parentfb2774745ee0f9e7db01a5215686838e99ef454b
ARM: EXYNOS: register devices in 'need_restore' state for pm_domains

Commit 92489a87a9 ('PM / Domains: Make it possible to add devices to
inactive domains') introduced possibility to add devices to inactive
power domains and added pm_genpd_dev_need_restore() function which lets
platform core to notify power domain core that the specified device must
be restored (with its runtime_resume() callback) before first use.

This patch adds the pm_genpd_dev_need_restore() call what brings back
the suspend/resume behaviour for the client devices known from the
previous power domain driver (removed by commit ce1d499703 - 'ARM:
EXYNOS: Hook up power domains to generic power domain infrastructure').
Client device drivers relay on that suspend/resume behaviour, thus this
patch fixes runtime pm operation for client devices.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-exynos/pm_domains.c