phy: qcom-qmp: Use phy_status field for the status bit offset
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Tue, 27 Apr 2021 06:53:59 +0000 (12:23 +0530)
committerVinod Koul <vkoul@kernel.org>
Mon, 31 May 2021 06:02:01 +0000 (11:32 +0530)
commit952b702bf82f999853a2db5a592a692274f5554e
tree7db0f34fe865df6acd0899a46f91cba6ad487bbb
parent04a82a13f12d15b611e7363e6e060a9f130a94c8
phy: qcom-qmp: Use phy_status field for the status bit offset

In preparation of the support for v4.20 PCIe PHY in SDX55, use a
separate "phy_status" field for the status bit offset. This is needed
because, the v4.20 PHY uses a different offset for the PHY Status.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20210427065400.18958-3-manivannan.sadhasivam@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-qmp.c