Merge "cnss2: Suspend PCIe link and power off device after PCIe probe"
This commit is contained in:
commit
01dc1a95a2
1 changed files with 5 additions and 0 deletions
|
@ -1463,6 +1463,11 @@ static int cnss_pci_probe(struct pci_dev *pci_dev,
|
|||
cnss_pci_disable_msi(pci_priv);
|
||||
goto disable_bus;
|
||||
}
|
||||
ret = cnss_suspend_pci_link(pci_priv);
|
||||
if (ret)
|
||||
cnss_pr_err("Failed to suspend PCI link, err = %d\n",
|
||||
ret);
|
||||
cnss_power_off_device(plat_priv);
|
||||
break;
|
||||
default:
|
||||
cnss_pr_err("Unknown PCI device found: 0x%x\n",
|
||||
|
|
Loading…
Add table
Reference in a new issue