]> git.karo-electronics.de Git - karo-tx-linux.git/commit
PM / Domains: Check domain status during hibernation restore of devices
authorRafael J. Wysocki <rjw@sisk.pl>
Mon, 26 Mar 2012 21:24:40 +0000 (23:24 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Apr 2012 17:32:10 +0000 (10:32 -0700)
commitfd0682d1b4f47792cfe668c7979d73f168e9f1aa
tree89d9033d96acab66577b8131ac45ff9f1dd9eda5
parent8119557d5627c7a823641a7c5c307f709e2d5b04
PM / Domains: Check domain status during hibernation restore of devices

This is a backport of mainline commit
18dd2ece3cde14cfd42e95a89eb14016699a5f15.

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

This change fixed up mainline 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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/power/domain.c