AMD: disable bus resets.

This commit is contained in:
Adam Madsen 2020-11-10 00:20:32 -06:00
parent 2165913cef
commit c21bcddd9e

View File

@ -32,6 +32,9 @@ int amd_common_pre_reset(struct vendor_reset_dev *dev)
struct pci_dev *pdev = dev->pdev;
int ret;
/* disable bus reset for the card, seems to be an issue with all of em */
pdev->dev_flags |= PCI_DEV_FLAGS_NO_BUS_RESET;
priv = kzalloc(sizeof *priv, GFP_KERNEL);
if (!priv)
return -ENOMEM;