PM / Domains: Check domain status during hibernation restore of devices
authorRafael J. Wysocki <rjw@sisk.pl>
Mon, 19 Mar 2012 09:38:14 +0000 (10:38 +0100)
committerRafael J. Wysocki <rjw@sisk.pl>
Mon, 19 Mar 2012 09:38:14 +0000 (10:38 +0100)
commit18dd2ece3cde14cfd42e95a89eb14016699a5f15
tree1897c7ac0337254058e4bfc7709bb8b19996da24
parent57d13370cfaf6017c68981e66ff5b3bf20a2705c
PM / Domains: Check domain status during hibernation restore of devices

Power domains that were off before hibernation shouldn't be turned on
during device restore, so prevent that from happening.

This change fixes up commit 65533bbf63b4f37723fdfedc73d0653958973323

    PM / Domains: Fix hibernation restore of devices, v2

that didn't include it by mistake.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
drivers/base/power/domain.c