]> git.ipfire.org Git - people/arne_f/kernel.git/commit
PCI: pciehp: Don't turn slot off when hot-added device already exists
authorYijing Wang <wangyijing@huawei.com>
Wed, 12 Feb 2014 00:36:51 +0000 (17:36 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 14 Feb 2014 17:13:56 +0000 (10:13 -0700)
commit50277c8b06d56f2345e1a0693db46db29fc6d063
tree8593272fd1307dbcd6b0d1f675eec3b12e85b1f4
parent50b52fdee050745935d92e7026373edea2647e60
PCI: pciehp: Don't turn slot off when hot-added device already exists

If we found device already exists during hot add device, we should leave
it, not turn the slot off.

Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/hotplug/pciehp_ctrl.c
drivers/pci/hotplug/pciehp_pci.c