msm: pcie: check root pci dev is valid in msm_pcie_set_link_bandwidth
It's possible no root PCI device will be found given a child PCI
device. Add a check to make sure root PCI device is valid in
msm_pcie_set_link_bandwidth.
Change-Id: If6bbf3ec5dbd1475b2860c2532799e2b4873e75b
Signed-off-by:
Tony Truong <truong@codeaurora.org>
Loading
Please register or sign in to comment