From: Rafael J. Wysocki Date: Mon, 4 Feb 2013 11:56:05 +0000 (+0400) Subject: PCI/PM: Clear state_saved during suspend X-Git-Tag: v3.9-rc1~82^2~3^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82fee4d67ab86d6fe5eb0f9a9e988ca9d654d765;p=pandora-kernel.git PCI/PM: Clear state_saved during suspend This patch clears pci_dev->state_saved at the beginning of suspending. PCI config state may be saved long before that. Some drivers call pci_save_state() from the ->probe() callback to get snapshot of sane configuration space to use in the ->slot_reset() callback. Signed-off-by: Konstantin Khlebnikov # add comment Signed-off-by: Bjorn Helgaas --- Reading git-diff-tree failed