]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
PCI: acpiphp: Stop disabling bridges on remove
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 17 Aug 2012 15:56:14 +0000 (09:56 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 17 Aug 2012 17:14:26 +0000 (11:14 -0600)
commit57fd9a4df562e7d2105a01ff57b4cdaa236c28ce
tree890e9b3af5aece347b5b9fd2dedcea42e7da236c
parent0d7614f09c1ebdbaa1599a5aba7593f147bf96ee
PCI: acpiphp: Stop disabling bridges on remove

acpiphp_disable_slot() turns off power to the slot immediately after
calling disable_device(), so there's no point in disabling any bridges
below the slot: we're about to turn them off anyway.

Tested-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Yinghai Lu <yinghai@kernel.org>
drivers/pci/hotplug/acpiphp_glue.c