aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/i2c/algos/i2c-algo-bit.c
diff options
context:
space:
mode:
authorYinghai Lu <yinghai.lu@oracle.com>2011-11-22 21:06:53 -0800
committerJesse Barnes <jbarnes@virtuousgeek.org>2012-01-06 12:10:48 -0800
commit79cc9601c3e42b4f0650fe7e69132ebce7ab48f9 (patch)
treea64d1866bb2081f08396e23523171b7a9f2bada9 /drivers/i2c/algos/i2c-algo-bit.c
parentx86/PCI: amd: Kill misleading message about enablement of IO access to PCI ECS] (diff)
downloadwireguard-linux-79cc9601c3e42b4f0650fe7e69132ebce7ab48f9.tar.xz
wireguard-linux-79cc9601c3e42b4f0650fe7e69132ebce7ab48f9.zip
PCI: Only call pci_stop_bus_device() one time for child devices at remove
During debugging pcie hotplug with SRIOV with pcie switch, I found pci_stop_bus_device() is called several times for some child devices. So change original pci_remove_bus_device() to __pci_remove_bus_device(), and make it only do remove work, and add a new pci_remove_bus_device that calls pci_stop_bus_device() one time, and then call __pci_remove_bus_device(). Signed-off-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions