PCI: qcom-ep: move linkdown to PERST assert handler
We receive linkdown event after the PERST assertion. However after we
disable the PHY in qcom_pcie_perst_assert(), the driver shouldn't access
the hardware. Move pci_epc_linkdown() call to qcom_pcie_perst_assert()
to notify the EP function driver that the hardware is going away.
Signed-off-by:
Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Loading
Please sign in to comment