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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Jun 2014 17:28:25 +0000 (10:28 -0700)
commitc8b177eab863291fc70efabfc649fbfba0da9442
tree0aaacb9dcf3332082fbf462ce4081346af0dbfa0
parentb2fe79d69507a4f8140089c0458b1a31211ebf67
PCI: Wrong register used to check pending traffic

commit d0b4cc4e32705ff00d90d32da7783c266c702c04 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pci/pci.c