]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: pciehp: Don't disable the link permanently during removal
authorRajat Jain <rajatxjain@gmail.com>
Wed, 5 Feb 2014 02:30:04 +0000 (18:30 -0800)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 11 Feb 2014 23:08:43 +0000 (16:08 -0700)
commitafe009574b911e3229a1d2bfa547cd53ea7d7b48
tree9d0a036a7b204465dfd1086e32adf75cca442066
parent9a793e934053d1d70e14440381011a9e4ddf77ab
PCI: pciehp: Don't disable the link permanently during removal

We need future link up events for hot-add, thus don't disable the link
permanently during device removal. Also, remove the static functions that
are now left unused.

This reverts part of adddc8bfffc7 ("PCI: pciehp: Disable/enable link during
slot power off/on").  This was discussed at the URL below, where it was
revealed that it was done for a bug in a PCIe repeater chip on that
particular platform.

Link: https://lkml.kernel.org/r/CAErSpo72KZ-a2OSQLWoK71GCgwBt676XZdGt4tEYm-6UYnLmPw@mail.gmail.com
Signed-off-by: Rajat Jain <rajatxjain@gmail.com>
Signed-off-by: Rajat Jain <rajatjain@juniper.net>
Signed-off-by: Guenter Roeck <groeck@juniper.net>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/hotplug/pciehp_hpc.c