Enable the QMP USB3 PHY driver in the Qualcomm common defconfig. This allows USB3 PHY initialization support when the corresponding platform DT is enabled.
Signed-off-by: Aswin Murugan <[email protected]> --- configs/qcom_defconfig | 1 + drivers/phy/qcom/phy-qcom-qmp-usb3-legacy.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig index 295ead46a44..6edbfb8be63 100644 --- a/configs/qcom_defconfig +++ b/configs/qcom_defconfig @@ -118,6 +118,7 @@ CONFIG_PHY_MICREL_KSZ90X1=y CONFIG_PHY=y CONFIG_PHY_QCOM_QMP_UFS=y CONFIG_PHY_QCOM_QUSB2=y +CONFIG_PHY_QCOM_QMP_USB3_LEGACY=y CONFIG_PHY_QCOM_USB_SNPS_FEMTO_V2=y CONFIG_PHY_QCOM_SNPS_EUSB2=y CONFIG_PINCTRL=y diff --git a/drivers/phy/qcom/phy-qcom-qmp-usb3-legacy.c b/drivers/phy/qcom/phy-qcom-qmp-usb3-legacy.c index d1aad6e7952..0113e28553b 100644 --- a/drivers/phy/qcom/phy-qcom-qmp-usb3-legacy.c +++ b/drivers/phy/qcom/phy-qcom-qmp-usb3-legacy.c @@ -311,7 +311,7 @@ static int qmp_usb3_legacy_power_on(struct phy *phy) status = qmp->pcs + QPHY_V3_PCS_PCS_STATUS; ret = readl_poll_timeout(status, val, !(val & PHYSTATUS), - PHY_INIT_COMPLETE_TIMEOUT); + PHY_INIT_COMPLETE_TIMEOUT); if (ret) { dev_err(qmp->dev, "phy initialization timed-out\n"); clk_disable(&qmp->pipe_clk); -- 2.34.1
