Commit d7fe6b66 authored by Vivek Gautam's avatar Vivek Gautam Committed by Martin K. Petersen

scsi: ufs: qcom: Add phy_exit call in hcd exit path

Do a phy_exit() over the ufs phy in the ufs qcom exit path
to de-initialize the phy.
Signed-off-by: default avatarVivek Gautam <vivek.gautam@codeaurora.org>
Reviewed-by: default avatarSubhash Jadavani <subhashj@codeaurora.org>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 3d4640f1
...@@ -1280,6 +1280,7 @@ static void ufs_qcom_exit(struct ufs_hba *hba) ...@@ -1280,6 +1280,7 @@ static void ufs_qcom_exit(struct ufs_hba *hba)
ufs_qcom_disable_lane_clks(host); ufs_qcom_disable_lane_clks(host);
phy_power_off(host->generic_phy); phy_power_off(host->generic_phy);
phy_exit(host->generic_phy);
} }
static int ufs_qcom_set_dme_vs_core_clk_ctrl_clear_div(struct ufs_hba *hba, static int ufs_qcom_set_dme_vs_core_clk_ctrl_clear_div(struct ufs_hba *hba,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment