phy: qcom: qmp: Use power_on/off ops for PCIe
authorBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 6 Jan 2020 08:11:42 +0000 (00:11 -0800)
committerKishon Vijay Abraham I <kishon@ti.com>
Fri, 20 Mar 2020 14:04:29 +0000 (19:34 +0530)
commitcc1e06f033af66202f4018e823c446f40fbc4a51
tree13417f9ef81feda5658fb5980f706182e43e96cb
parent6861781a807aae5fbabf95bd396e1c20f05cf4fb
phy: qcom: qmp: Use power_on/off ops for PCIe

The PCIe PHY initialization requires the attached device to be present,
which is primarily achieved by the PCI controller driver.  So move the
logic from init/exit to power_on/power_off.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: John Stultz <john.stultz@linaro.org>
Reviewed-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/qualcomm/phy-qcom-qmp.c