diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2010-12-18 13:29:45 +0100 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2010-12-23 12:51:49 -0800 |
commit | 994e0b2c3646ce0ca0e4546e6b10c5cf66b976bf (patch) | |
tree | 9f93e8f4fc896eb4fc90dd64547e920665fc7d2a /include/linux/pci_regs.h | |
parent | e819eb8687767cefca7b6abf5ac6d5efcf581eeb (diff) | |
download | kernel_samsung_crespo-994e0b2c3646ce0ca0e4546e6b10c5cf66b976bf.zip kernel_samsung_crespo-994e0b2c3646ce0ca0e4546e6b10c5cf66b976bf.tar.gz kernel_samsung_crespo-994e0b2c3646ce0ca0e4546e6b10c5cf66b976bf.tar.bz2 |
PCI hotplug: Fix unexpected driver unregister in pciehp_acpi.c
If pcie_ports_disabled is set, pcie_port_service_register() returns
error code and select_detection_mode() should not attempt to
unregister dummy_driver and use dummy_slots. It should return
PCIEHP_DETECT_ACPI immediately instead.
Reviewed-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Acked-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'include/linux/pci_regs.h')
0 files changed, 0 insertions, 0 deletions