diff options
author | Alek Du <[email protected]> | 2009-08-08 08:46:19 +0800 |
---|---|---|
committer | Jesse Barnes <[email protected]> | 2009-08-20 09:08:45 -0700 |
commit | c82f63e411f1b58427c103bd95af2863b1c96dd1 (patch) | |
tree | 4a18447facd22c384c871e312cb3183c01a44b2c /lib/flex_array.c | |
parent | 6c30c53fd5ae6a99a23ad78e90c428d2c8ffb07f (diff) |
PCI: check saved state before restore
Without the check, the config space may be filled with zeros. Though
the driver should try to avoid call restoring before saving, but the
pci layer also should check this.
Also removes the existing check in pci_restore_standard_config, since
it's superfluous with the new check in restore_state.
Acked-by: Rafael J. Wysocki <[email protected]>
Signed-off-by: Alek Du <[email protected]>
Signed-off-by: Jesse Barnes <[email protected]>
Diffstat (limited to 'lib/flex_array.c')
0 files changed, 0 insertions, 0 deletions