PCI: pciehp: Always implement resume, regardless of pciehp_force param
authorOliver Neukum <oneukum@suse.de>
Fri, 7 Sep 2012 21:28:30 +0000 (23:28 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 7 Sep 2012 23:06:54 +0000 (17:06 -0600)
commit87683e22c646e563061a91f4a0106e6913acebf8
tree55f3e69bce234664cc6da01a56e8c7699bacc2c0
parent0d7614f09c1ebdbaa1599a5aba7593f147bf96ee
PCI: pciehp: Always implement resume, regardless of pciehp_force param

Previously, the driver ignored resume unless the pciehp_force module_param
was specified.  On some laptops that means that interrupts are not
delivered after S3, so card removals and insertions are not handled.
This patch makes the driver handle resume regardless of pciehp_force.

[bhelgaas: changelog]
Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Rafael J. Wysocki <rjw@sisk.pl>
drivers/pci/hotplug/pciehp_core.c