Loading drivers/pci/host/pci-msm.c +3 −0 Original line number Diff line number Diff line Loading @@ -6230,6 +6230,9 @@ int msm_pcie_set_link_bandwidth(struct pci_dev *pci_dev, u16 target_link_speed, return -EINVAL; root_pci_dev = pci_find_pcie_root_port(pci_dev); if (!root_pci_dev) return -ENODEV; pcie_dev = PCIE_BUS_PRIV_DATA(root_pci_dev->bus); pcie_capability_read_word(root_pci_dev, PCI_EXP_LNKSTA, &link_status); Loading Loading
drivers/pci/host/pci-msm.c +3 −0 Original line number Diff line number Diff line Loading @@ -6230,6 +6230,9 @@ int msm_pcie_set_link_bandwidth(struct pci_dev *pci_dev, u16 target_link_speed, return -EINVAL; root_pci_dev = pci_find_pcie_root_port(pci_dev); if (!root_pci_dev) return -ENODEV; pcie_dev = PCIE_BUS_PRIV_DATA(root_pci_dev->bus); pcie_capability_read_word(root_pci_dev, PCI_EXP_LNKSTA, &link_status); Loading