Commit 54934946 authored by Dmitry Baryshkov's avatar Dmitry Baryshkov Committed by Vladimir Zapolskiy
Browse files

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: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
parent b6c7ac95
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment