PCI: shpchp: Fix AMD POGO identification
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 30 May 2018 19:06:42 +0000 (14:06 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 4 Jun 2018 17:07:31 +0000 (12:07 -0500)
commitbed4e9cfab93a0f3d0144cb919820e6d5c40b8b1
tree5d4ab675507c72f640e0e61d5ba9e2cc2235b7cf
parentf2b775f5df661277d1b5662171f58c04adbdc97f
PCI: shpchp: Fix AMD POGO identification

The fix for an AMD POGO erratum related to SHPC incorrectly identified the
device.  The workaround should be applied only for AMD POGO devices, but it
was instead applied to:

  - all AMD bridges, and
  - all devices from any vendor with device ID 0x7458

Fixes: 53044f357448 ("[PATCH] PCI Hotplug: shpchp: AMD POGO errata fix")
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/pci/hotplug/shpchp_ctrl.c