PCI: Wrong register used to check pending traffic
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Mon, 19 May 2014 03:06:46 +0000 (13:06 +1000)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 19 May 2014 18:51:48 +0000 (12:51 -0600)
commitd0b4cc4e32705ff00d90d32da7783c266c702c04
treefd56bb60b53db54dca0783ac6544d542d5bc72ec
parent93fa9d32670f5592c8e56abc9928fc194e1e72fc
PCI: Wrong register used to check pending traffic

The incorrect register offset is passed to pci_wait_for_pending(), which is
caused by commit 157e876ffe ("PCI: Add pci_wait_for_pending() (refactor
pci_wait_for_pending_transaction())").

Fixes: 157e876ffe ("PCI: Add pci_wait_for_pending() (refactor pci_wait_for_pending_transaction())
Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Alex Williamson <alex.williamson@gmail.com>
CC: stable@vger.kernel.org # v3.14+
drivers/pci/pci.c