]> git.baikalelectronics.ru Git - kernel.git/commit
PCI PM: Check if the state has been saved before trying to restore it
authorRafael J. Wysocki <rjw@sisk.pl>
Wed, 4 Feb 2009 00:57:22 +0000 (01:57 +0100)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 5 Feb 2009 01:20:39 +0000 (17:20 -0800)
commitbe1a8f6e1129c19a030c643ed12f5517a9490901
tree87492fce6e91304467c7e2c9407b6795a80ba983
parent159475c15fb8edf18ae2f2e81f7d7cc6b0a66e8b
PCI PM: Check if the state has been saved before trying to restore it

Check if the standard configuration registers of a PCI device have
been saved during suspend before trying to restore them during
resume.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Reported-By: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pci.c