aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/qcom-timer.c
diff options
context:
space:
mode:
authorYinghai Lu <[email protected]>2013-11-19 00:02:45 +0000
committerBjorn Helgaas <[email protected]>2013-11-20 23:05:49 +0000
commite7cc5cf74544d97d7b69e2701595037474db1f96 (patch)
treeb209b7b1bcedd3ec1bf3e3ec0124194b67ddf065 /drivers/clocksource/qcom-timer.c
parentPCI: Fix whitespace, capitalization, and spelling errors (diff)
downloadkernel-e7cc5cf74544d97d7b69e2701595037474db1f96.tar.gz
kernel-e7cc5cf74544d97d7b69e2701595037474db1f96.zip
PCI: Remove duplicate pci_disable_device() from pcie_portdrv_remove()
The pcie_portdrv .probe() method calls pci_enable_device() once, in pcie_port_device_register(), but the .remove() method calls pci_disable_device() twice, in pcie_port_device_remove() and in pcie_portdrv_remove(). That causes a "disabling already-disabled device" warning when removing a PCIe port device. This happens all the time when removing Thunderbolt devices, but is also easy to reproduce with, e.g., "echo 0000:00:1c.3 > /sys/bus/pci/drivers/pcieport/unbind" This patch removes the disable from pcie_portdrv_remove(). [bhelgaas: changelog, tag for stable] Reported-by: David Bulkow <[email protected]> Reported-by: Mika Westerberg <[email protected]> Signed-off-by: Yinghai Lu <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> CC: [email protected] # v2.6.32+
Diffstat (limited to 'drivers/clocksource/qcom-timer.c')
0 files changed, 0 insertions, 0 deletions